EEG is a pattern obtained by magnifying and recording the spontaneous biopotential of the brain from the scalp by an instrument.