A magnesium test measures and monitors the amount of magnesium present in your bloodstream.
Magnesium is a type of electrolyte. Electrolytes are electrically charged minerals that are responsible for many essential functions and processes in your body. Your body needs magnesium to help your muscles, nerves, and heart work properly.