One thing that happens when you exercise is that all the toxins in your tissues that were stagnantly living in you, were stirred up to be released through your sweat or others means. Once you exercise regularly, this happens less and less as your body will expel all the stagnant yuck.
This also happens when you get a massage sometimes.