Mosques are one of the most prominent architectural structures in Fez. The purpose of a mosque is multifaceted, as it serves as a place for worship and prayer, but at the same time it was also traditionally used as a centre for education and learning. As such, mosques are an indispensable component of the urban fabric of the Medina, as they bring the community together and act as a social, community centre and educational centre.