Electrical activity of the brain is measured by :

A ) ECG

B ) EEG ✅

C ) Electrical activity of the diaphragm

D ) CT scan