An EEG is a test that detects electrical activity in the brain using sensors placed on the scalp. It is used to diagnose brain conditions like epilepsy and Alzheimer's. During an EEG, electrodes detect brain waves which are amplified and recorded. Abnormal brain wave patterns can indicate conditions affecting the electrical activity in the brain. A neurologist interprets the EEG results to look for normal and abnormal patterns to make a diagnosis.