TAC1 and migraine disorder: Magnesium mitigates both vascular and neurogenic aspects of migraines by blocking NMDA receptors, which moderates the release of substance P and regulates nitric oxide production, thereby helping to control migraine symptoms [224,225].