There are many possible reasons why cats roll around on the ground. Some cats may be playing, some may be cleaning their fur, and some may be expressing emotions. Cats roll when they play because it is their natural instinct. Rolling can help them practice physical coordination and is also one of the ways they relax and entertain themselves.
Cats will also roll when cleaning their fur. This is because they have a substance called "glandular secretions" that help keep their skin and coat healthy. Rolling around helps distribute this substance evenly over their skin and coat, keeping their skin and coat clean. Sometimes, cats will roll around to express their emotions. For example, if cats feel relaxed or happy, they may roll around to show their happiness.