What people in the general public do not realize is that even though exercising can make you healthy, it can also make you sick.
Let me break it down for you; when you are exercising you are not just using up energy in the form of stored body fat and glycogen, but you are using up nutrients as well.
There are minerals like calcium, magnesium, potassium and zinc which the body uses for muscular contraction and relaxation during any kind of physical workout, be it the gym, the beach or even in the hot sun.
Once the body has used those nutrients and they are not replaced with the same amounts that were used up, then you become depleted and you start to show symptoms of dehydration, fatigue, etc.
There are also vitamins that are used up by the body during physical activity and these include mainly all your B-vitamins and vitamin C. These vitamins are water soluble and when you perspire these nutrients are taken out of the body.