From Wikipedia:
An Imam (Arabic: إمام plural أئمة A'immah, Persian: امام) is an Islamic leadership position, often the worship leader of a mosque and the Muslim community. Similar to spiritual leaders, the Imam is the one who leads Islamic worship services. More often, the community turns to the mosque Imam if they have a religious question. In smaller communities, an Imam could also be the community leader.