And one of the methods to do that is to expose kids to a variety of sports so that they'll hopefully find one they like. You might not like volleyball but for someone else in the class that forced participation might be the start of a lifelong love of it.
Also, I'm glad I learned the basics of tennis, soccer, baseball, flag football, volleyball, table tennis, badminton, archery, and so much more in school. I don't play any of them frequently, but when they do come up (like as a social activity at a company offsite, or a leisure activity when vacationing with friends), it's nice to be able to actually do them.
And thus the reason I even enjoyed badminton. I thought it was dumb and I'd hate it. Turns out it was fun. Probably haven't played it since high school though... All well. Maybe when I have kids, lol!
"I don't wanna learn trig, can I get some guys and we'll do algebra instead?"
"NO"
...et cetra