Magnesium is needed for protein and fatty acid formation, making new cells, activating B vitamins, relaxing muscles, clotting blood, and forming ATP—the energy the body runs on. Insulin secretion and function also require magnesium. Magnesium is required for strong, healthy bones and is concentrated in the body in the bones and teeth. It is important to a variety of other bodily processes: It helps keep cells electrically stable, maintain proper blood pressure, and, with calcium, regulate the body’s energy levels and maintain normal heart function and nerve transmission.