Imam (/ɪˈmɑːm/, Arabic: إمام, imām; pl.: أئمة, a'immah) is an Islamic leadership position. For Sunni Muslims, Imam is most commonly used as the title of a prayer leader of a mosque. In this context, imams may lead Islamic prayers, serve as community leaders, and provide religious guidance. Thus for Sunnis, anyone can study the basic Islamic sciences and become an Imam.
For most Shia Muslims, the Imams are absolute infallible leaders of the Islamic community after the Prophet. Shias consider the term to be only applicable to the members and descendants of the Ahl al-Bayt, the family of the Islamic prophet Muhammad. In Twelver Shīʿīsm there are 14 infallibles, 12 of which are Imams, the final being Imam Mahdi who will return at the end of times.[1] The title was also used by the Zaidi Shia Imams of Yemen, who eventually founded the Mutawakkilite Kingdom of Yemen (1918–1970).