Magnesium is a mineral that frequently finds its way into prescriptions for people dealing with chronic pain and fatigue.