But what exactly happens inside the brain during a migraine? Migraine is a complex neurological condition involving waves of brain activity, inflammation, and chemical changes.