Electroencephalography (EEG) is a non-invasive method used to measure electrical activity in the brain, primarily through electrodes placed on the scalp. It is widely used in clinical and research settings to diagnose and monitor neurological disorders, study brain function, and investigate cognitive processes.