About 98% of the mineral that is necessary for the proper functioning of the body is located in the cells of the body, mainly in the muscles. Nutritional sources of magnesium include whole grain cereals, dry pulses, as well as nuts and green leafy vegetables.