When athletes hurl themselves into the air to perform a flip, the only force acting on them is gravity. But since gravity only affects their “center of mass,” it cannot apply forces in a way that changes the athlete’s spin. But the gymnasts can do that for themselves by using the conservation of angular momentum.
By changing how their mass is arranged, gymnasts can change how fast they spin. You can see this in the dismount phase of the uneven bar competitions. When a gymnast comes off the bars and performs a flip by tucking their legs inward, they can quickly increase their rotation rate in midair. The sudden dramatic increase in the speed of their flip is what makes us gasp in astonishment. It is both scary and a beautiful testament to the athletes’ ability to intuitively control the physics of their bodies. And it is also the exact same physics that controls the birth of planets. (From bigthink.com)