ATP (adenosine triphosphate), the main source of energy in cells, must be bound to a magnesium ion in order to be biologically active.
Biological cell membranes and cell walls are polyanionic surfaces.