True.
When you exercise, your body releases these fancy chemicals called endorphins. These endorphins then interact with the receptors in your brain that reduce your perception of pain. Endorphins also trigger a positive feeling in the body, similar to that of morphine.
Also, it works because I've done it.