An electroencephalogram, also called an EEG, is a recording of the electrical activity in the brain. It is a non-invasive way to test brain activity.