Is exercise (jogging, calisthenics, kettlebell, etc.) permitted on Shabbat and Yom Tov?

If not, what is the precise definition of the prohibition? What exactly is prohibited and why?