Magnesium (Mg) is needed in chlorophyll in plants and for nerve function in animals. Its availability can increase as pH increases.