Madrasas are educational institutions in the Islamic world that traditionally focus on teaching Islamic theology, law, and related subjects. They have evolved over time, with some modern madrasas also incorporating secular subjects into their curriculum to provide a more comprehensive education.