Magnesium is also an electrolyte, along with sodium, potassium, phosphorus, chloride and calcium. Electrolytes are crucial to good health since they transport nutrients into your cells ...