Electroencephalography (EEG) is a non-invasive technique used to measure electrical activity in the brain through electrodes placed on the scalp. This method allows researchers and clinicians to monitor brain wave patterns, which are crucial for understanding various neurological conditions and the states of consciousness.