Electroencephalography, commonly referred to as EEG, is a non-invasive medical test that involves recording electrical activity of the brain. This test is crucial in diagnosing various neurological conditions and is performed using electrodes placed on the scalp.