An electroencephalogram (EEG) is a test used to find problems related to electrical activity of the brain. An EEG tracks and records brain wave patterns. Small metal discs with thin wires (electrodes) are placed on the scalp, and then send signals to a computer to record the results.