This question is about Running
Magnesium is an important electrolyte for runners. Since magnesium is one of the minerals lost in sweat, it plays a crucial role in hydration, and is also involved with energy metabolism, muscle contraction, oxygen uptake and electrolyte balance, all of which affect running performance. Additionally, studies have found that marathon runners who consumed adequate amounts of unsaturated fat, iron, potassium, and magnesium had better race-day performance [ 1
Roca, E., Nescolarde, L., Brotons, D., Bayes-Genis, A., & Roche, E. (2020). Macronutrient and mineral intake effects on racing time and cardiovascular health in non-elite marathon runners. Nutrition (Burbank, Los Angeles County, Calif.), 78, 110806. https://doi.org/10.1016/j.nut.2020.110806