Your body needs magnesium for many important functions: the mineral supports muscle and nerve function, helps regulate blood sugar and blood pressure, and is required for energy production. If you're…