The gymnasium in Ancient Greece functioned as a training facility for competitors in public games. It was also a place for socializing and engaging in intellectual pursuits. The name comes from the Ancient Greek term meaning "naked".
Athletes competed nude, a practice which was said to encourage aesthetic appreciation of the male body, and to be a tribute to the gods. Gymnasia and palestrae (wrestling schools) were under the protection and patronage of Heracles, Hermes and, in Athens, Theseus.
The word gymnasium is the latinisation of the Greek noun γυμνάσιον (gymnasion), "gymnastic school", in pl. "bodily exercises" and generally "school" which in turn is derived from the common Greek adjective (gymnos) meaning "naked", by way of the related verb γυμνάζω (gymnazo), whose meaning is "to train naked", "train in gymnastic exercise", generally "to train, to exercise". The verb had this meaning because one undressed for exercise. Historically, the gymnasium was used for exercise, communal bathing, and scholarly and philosophical pursuits. The English noun gymnast, first recorded in 1594, is formed from the Greek γυμναστής (gymnastēs), but in Greek this word means "trainer" not "gymnast". The palaistra was the part of the gymnasium devoted to wrestling, boxing and ball games.
The gymnasium was formed as a public institution where young men over 18 received training in physical exercises. The supervision of the gymnasiums was entrusted to gymnasiarchs, who were public officials responsible for the conduct of sports and games at public festivals and who directed the schools and supervised the competitors. The gymnastai were the teachers, coaches, and trainers of the athletes. The Greek gymnasiums also held lectures and discussions on philosophy, literature, and music, and public libraries were nearby.