Why is gymnastics an olympic sport?

gymnastics is in the Olympics because gymnastics is not a huge sport so that is why a lot of small sports r in the Olympics so they can be big 1 every 4 years.