Greek skholē named leisure. Time free from work could be devoted to discussion and study; the word then came to describe those activities and the places where they happened. Latin schola carried the educational meaning onward.
Sources
- Merriam-Webster · school
Dictionary word history; the component and historical references below supply additional detail.
- Online Etymology Dictionary · school
Historical forms, meanings, and context for the route described here.