Magnesium

I want to start taking magnesium because I heard it helps with your sleep and making the most out of it so you’ll have more energy. Has anyone taken it and seen that it helped you? Or do you have any other vitamin recommendations that helped with energy or gut health?