My teacher told me about this in high school. As humans we have a natural thirst for knowledge. While naturally kids did their own thing for the first few weeks they eventually started going to class. It teaches them to want to go to class. You’re not forced to learn and because of that you want to learn.