Your body does not produce its own magnesium, so it is important to keep putting it into your body. According to the Harvard Health Publication, magnesium has been strongly linked to improved heart function, and has been shown to help, along with other nutrients like calcium and potassium, to support muscle and blood vessel contraction and expansion and nerve signal transmission.