Imam (, 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.
https://en.wikipedia.org/wiki/Imam