Many people, especially women are deficient in magnesium. It has over 600 uses in the body. One of its principle ones is to aid muscle relaxation. So without enough you feel tired and weak, listless or don't recover from exertion well.
It also helps with sleep. It can also help with depression and migraine and even constipation.
It is an essential mineral for the proper uptake of calcium for healthy bones.