Magnesium assists regulate muscle and nerve function, among the other roles. “Magnesium is definitely an electrolyte, as are potassium, sodium, calcium and chloride,” suggests Cornell. “They facilitate interaction amongst tissues and organs in your body.” To clarify how electrolytes function, Cornell compares them to electric powered poles