Electroencephalography (EEG) is a non-invasive diagnostic test that measures the brain's natural electrical activity without applying any electrical current to the brain. Generally considered safe, this procedure involves placing electrodes on the scalp. It does not cause any pain or known side effects during the examination.