Why shouldn't I swing my body when doing exercises such as bicep curls?

Swinging the weight allows for momentum to take up the work of a muscle thereby reducing the effectivness of the lift. It is a form of cheating a muscle out of potential strength gains.