An electroencephalogram (an EEG) is a recording of the brain’s electrical activity. The procedure is simple and painless. About 20 small adhesive electrodes are placed on the scalp, and the brain’s activity is recorded under normal conditions. Then the person is exposed to various stimuli, such as bright or flashing lights, to try to provoke a seizure. During a seizure, electrical activity in the brain accelerates, producing a jagged wave pattern. Such recordings of brain waves help identify a seizure disorder. Different types of seizures have different wave patterns.