magnesium's well-known roles is in the photosynthesis process, as it is a building block of the Chlorophyll. magnesium is required to give leaves their green color. Magnesium in plants is located in the enzymes. Magnesium is also used by plants for the metabolism of carbohydrates and in the cell membrane stabilization.