We need a magnesium because it helps to maintain muscle function, supports a healthy immune system, keeps the heart beat steady, and also helps bones remain strong. Taking magnesium in proper amount might help to improve your bone mineral density also.