What is the meaning of Brainwave?

Any of many rhythmic fluctuations of electric potential between parts of the brain, especially those seen on an electroencephalogram

A sudden idea, understanding, or inspiration; a brainstorm.

Source: wiktionary.org