Magnesium is an essential mineral that the body needs for various functions, while magnesium citrate is a form of magnesium that is bound to citric acid. Magnesium citrate is commonly used as a laxative, while other forms of magnesium may be used to support heart health, bone density, and other bodily functions.