From the Super Mario Wiki
Gymnastics events are a group of events that appear in Mario & Sonic at the Olympic Games. They involve some kind of running or jumping exercise which is graded by invisible judges and then returned as points. The same events are in both versions of the game. All of these events take place in the National Indoor Stadium.