This article is about the indoor sports facility. "gym" can also refer to a fitness and health club. for other uses, see gymnasium (disambiguation). not to be confused with physical education. gym is slang for gymnasium and gymnastic services such as in schools and colleges and is attributed to compounds such as gym shoes. gymnasia are open air and covered locations for gymnastics and athletics. gymnasia apparatus such as bar-bells, parallel bars, jumping board, running path, tennis-balls, cricket field, fencing gallery, and so forth are used as exercises. in safe weather, outdoor locations are the most conductive to health. gyms were popular in ancient greece. their curricula included gymnastica militraria or self-defense, gymnastica medica, or physical therapy to help the sick and injured, and gymnastica athletica for physical fitness and sports, from boxing to dance. the gyms had halls and colonnades with statues and pictures. these gymnasia also had teachers of wisdom and philosophy. community gymnastic events were done as part of the celebrations during various village festivals. in ancient greece there was a phrase of contempt, "he can neither swim nor write." after a while, however, olympic athletes began training in buildings just for them. community sports never became as popular among ancient romans as it had among the ancient greeks. gyms were used more as a preparation for military service or spectator sports. during the roman empire, the gymnastic art was forgotten. in the dark ages there were sword fighting tournaments and of chivalry; and after gunpowder was invented sword fighting began to be replaced by the sport of fencing. there were schools of dagger fighting and wrestling and boxing. then in the 1700s, salzmann, german clergyman, opened a gym in thuringia teaching bodily exercises, including running and swimming. clias and volker established gyms in london, and in 1825, doctor beck, a german immigrant, established the first gymnasium in the united states. it was found that gym pupils lose interest in doing the same exercises, partly because of age. variety in exercises included skating, dancing, and swimming. some gym activities can be done by 6 to 8 year olds while age 16 has been considered mature enough for boxing and horseback riding. the greek term gymnasion (γυμνάσιον) was used in ancient greece to describe a locality for both physical and intellectual education of young men (see gymnasium (ancient greece)). the latter meaning of intellectual education persisted in greek, german and other languages to denote a certain type of school providing secondary education, the gymnasium, whereas in english the meaning of physical education was pertained in the word gym. the greek word gymnasium means "school for naked exercise" and was used to designate a locality for the education of young men, including physical education (gymnastics, i.e. exercise) which was customarily performed naked, as well as bathing, and studies. for the greeks, physical education was considered as important as cognitive learning. most greek gymnasia had libraries that could be utilized after relaxing in the baths.