The concept of organized education and schools as we know them today has been developed and evolved over time and has roots in various civilizations throughout history.
It is not possible to attribute the invention of schools to a single individual.
In ancient civilizations such as Greece and Rome, formal education was offered in academies and schools, often by philosopher-teachers.
In the Middle Ages, schools were often run by the church, and education was largely focused on religious studies.
The modern system of public education and schools, however, has its roots in the 19th century, when compulsory education laws were first introduced in countries such as Prussia and Massachusetts.
These laws made it mandatory for children to attend school and helped to lay the foundation for the modern system of public education.
So, while it is not possible to attribute the invention of schools to a single individual, the development of schools as we know them today is a result of the contributions of many people and civilizations throughout history.