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, adenosine triphosphate (ATP), the main source of energy in cells, must bind 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.
Some good sources of magnesium
The N-methyl-D-aspartate receptor (also known as the NMDA receptor or NMDAR), is a glutamate receptor and predominantly Ca2+ ion channel found in neurons. The NMDA receptor is one of three types of ionotropic glutamate receptors, the other two being AMPA and kainate receptors. Depending on its subunit composition, its ligands are glutamate and glycine (or D-serine). However, the binding of the ligands is typically not sufficient to open the channel as it may be blocked by Mg2+ ions which are only removed when the neuron is sufficiently depolarized. Thus, the channel acts as a "coincidence detector" and only once both of these conditions are met, the channel opens and it allows positively charged ions (cations) to flow through the cell membrane. The NMDA receptor is thought to be very important for controlling synaptic plasticity and mediating learning and memory functions.
NR2 subunit in vertebrates (left) and invertebrates (right). Ryan et al., 2008
Figure 4: The chemical structures of MK-801, phencyclidine and ketamine, high affinity uncompetitive NMDA receptor antagonists
Figure 5: Chemical structures of memantine (right) and amantadine (left)
Figure 8: Structure activity relationship (SAR) of amantadine and related compounds