Magnesium is an essential element in biological systems. Magnesium occurs typically as the Mg2+ ion. It is an essential mineral nutrient (i.e., element) for life and is present in every cell type in every organism. For example, ATP (adenosine triphosphate), the main source of energy in cells, must be bound to a magnesium ion in order to be biologically active. What is called ATP is often actually Mg-ATP. As such, magnesium plays a role in the stability of all polyphosphate compounds in the cells, including those associated with the synthesis of DNA and RNA.
Over 300 enzymes require the presence of magnesium ions for their catalytic action, including all enzymes utilizing or synthesizing ATP, or those that use other nucleotides to synthesize DNA and RNA.
In plants, magnesium is necessary for synthesis of chlorophyll and photosynthesis.
A balance of magnesium is vital to the well-being of all organisms. Magnesium is a relatively abundant ion in Earth's crust and mantle and is highly bioavailable in the hydrosphere. This availability, in combination with a useful and very unusual chemistry, may have led to its utilization in evolution as an ion for signaling, enzyme activation, and catalysis. However, the unusual nature of ionic magnesium has also led to a major challenge in the use of the ion in biological systems. Biological membranes are impermeable to magnesium (and other ions), so transport proteins must facilitate the flow of magnesium, both into and out of cells and intracellular compartments.
Chlorophyll in plants converts water to oxygen as O2. Hemoglobin in vertebrate animals transports oxygen as O2 in the blood. Chlorophyll is very similar to hemoglobin, except magnesium is at the center of the chlorophyll molecule and iron is at the center of the hemoglobin molecule, with other variations. This process keeps living cells on earth alive and maintains baseline levels of CO2 and O2 in our atmosphere.