Magnesium: Health benefits, sources, and risks
“Magnesium plays a role in over 300 enzymatic reactions within the body, including the metabolism of food, synthesis of fatty acids and proteins, and the transmission of nerve impulses.
The human body contains around 25 gram (g) of magnesium, 50 to 60 percent of which is stored in the skeletal system. The rest is present in muscle, soft tissues, and bodily fluids.
Fast facts on magnesium
Here are some key points about magnesium. More detail and supporting information is in the main article.
Magnesium is vital for the proper functioning of hundreds of enzymes.
Consuming adequate magnesium might help reduce premenstrual symptoms.
Sunflower seeds, almonds, and shrimp are some of the foods high in magnesium.
Magnesium supplements can interact with different drugs, so it is best to check with a doctor before taking them.” 
Top 9 Health Benefits of Magnesium
“Magnesium has many benefits throughout all the body’s critical functions. From nerves to cells to muscles, magnesium is hard at work regulating and promoting proper function.”
1. Helps Increase Energy.
2. Calms Nerves and Anxiety
3. Helps You Fall Asleep
4. Helps with Digestion by Relieving Constipation
5. Relieves Muscle Aches and Spasms
6. Regulates Levels of Calcium, Potassium and Sodium
7. Important for Heart Health
8. Prevents Headaches
9. Helps Prevent Osteoporosis 
Can you get magnesium naturally from foods?
“Natural food sources of magnesium include:
Green, leafy vegetables, like spinach
Beans, peas, and soybeans
Eating whole foods is always best. Magnesium can be lost during refinement and processing.” 
 Medical News Today - Magnesium: Health, Benefits, sources and risks
 Dr Axe - Should you be taking magnesium supplements?
 Web MD - Why do people take magnesium