In human biology, magnesium is the eleventh most abundant element by mass in the human body; its ions are essential to all living cells, where they play a major role in manipulating important biological polyphosphate compounds like ATP, DNA, and RNA. Hundreds of enzymes thus require magnesium ions to function. Magnesium compounds are used medicinally as common laxatives, antacids (e.g., milk of magnesia), and in a number of situations where stabilization of abnormal nerve excitation and blood vessel spasm is required (e.g., to treat eclampsia). Magnesium ions are sour to the taste, and in low concentrations they help to impart a natural tartness to fresh mineral waters.
In vegetation magnesium is the metallic ion at the center of chlorophyll, and is thus a common additive to fertilizers.