MAGNESIUM IN PLANTS AND SOIL. Magnesium is an essential plant nutrient. It has a wide range of key roles in many plant functions. One of the magnesium's well-known roles is in the photosynthesis process, as it is a building block of the Chlorophyll, which makes leaves appear green.