When a person is doing some exercise,the energy is produced from breaking the bonds present in the stored molecules and compounds.This leads to availability of the energy in the body to perform the work. Now, the body wants to maintain the optimum level of temperature inside the body, which then leads to releasing of extra energy to stabilize the body. The sweating glands are opened for releasing water molecules and we feel more thirsty.Along with that urine is also released to stabilize the system.
Waste products are constantly being produced by the body and must therefore be excreted. If they are not, they will increase in concentration and may interfere with chemical reactions or damage cells. Waste products that must be removed include carbon dioxide and urea.