EEG is a technique that measures electrical activity in the brain using electrodes placed on the scalp. It records brain wave patterns which are categorized by frequency into different types like beta, alpha, theta, and delta waves. EEG is used to diagnose brain conditions, locate seizures or lesions, and study cognitive processes. It involves placing electrodes on the scalp, amplifying the tiny electrical signals, filtering out noise, and analyzing the brain wave patterns.