Heh alright sorry but some people really do not do their homework at all. They are secondary nutrients, so in between micro & primary. Magnesium is needed for photosynthesis and activates enzymes needed for growth. Calcium strengthens cell walls, and controls transport and retention of other elements within the plant. CalMag might do other things, I don't know all what it provides.

source: Plant Nutrients