(Divina Ramirez) Magnesium is an essential mineral that plays a key role in more than 300 chemical reactions in the human body. For instance, muscles need magnesium to properly contract. Nerves also use magnesium to send and receive signals. Magnesium keeps the heart beating steadily and strengthens immunity.