Different forms of magnesium may help with anxiety, constipation, osteoporosis, muscle recovery, sleep, and brain function. You may benefit from taking a magnesium supplement if you don't get enough ...