Here is how menstruation affects the brain