During the examination small sensors are attached to the scalp to examine the electrical signals produced by the brain.
Electroencephalogram is most often used to diagnose epilepsy and other focal or diffuse brain damage.
It is also used to diagnose loss of consciousness, dizziness, memory disorders, etc.