The subjects taught are mathematics, the native language, one to three foreign languages, history, geography, informatics (computers), the natural sciences (biology, chemistry, physics), history of art, music, philosophy, logic, physical education, and the social sciences (sociology, ethics or religious education, psychology, politics, and economy). Religious studies are optional. In Bosnia and Herzegovina, Croatia, Montenegro, Slovenia, Serbia and North Macedonia, Latin is also a mandatory subject in all gymnasiums, just as Ancient Greek is, with Latin, in a certain type of gymnasiums called Classical Gymnasiums (klasična gimnazija).