an imam (; ) is an islamic leader, often the leader of a mosque and/or community. similarly to spiritual leaders, the imam is the person who leads the prayer during islamic gatherings. more often the community turn to the mosque imam, if they have an islamic question. in smaller communities an imam could be the community leader based on the community setting.