EEG, or Electroencephalograph, is the recording of electrical activity along the scalp. It is a tool to study the brain while it is performing a cognitive task. This allows to detect the location and magnitude of brain activity involved in the various types of cognitive functions.