Contributing to protein synthesis, normal muscle function and muscle contraction, it can help relieve muscle aches and spasms. Magnesium is also widely known as the relaxation mineral and has been popular with people looking to maintain healthy sleep patterns.