The term is the Arabic word for any type of educational institution, secular or religious (of any religion), whether for elementary instruction or higher learning. In an architectural context it generally refers to an institution or place where Islamic law and jurisprudence (fiqh), as well as other subjects are taught.