During the high middle ages monasteries were considered religious centers as well as centers of learning. Many monasteries also worked as schools where they taught people how to be literate and basic mathematics or similar. Many famous schools of today began as monasteries in the early days.