Complex sentence: Madrasah is an Arabic word that means "school" but in the present context a madrasah means an Islamic religious school.
Split into simpler sentences: Madrasah is an Arabic word that means "school". However, in the present context a madrasah means an Islamic religious school.