Imām is literally one who is imitated or whose example is followed from i'tamma bi-hī, he followed or imitated him. It generally means a head or a chief or a leader whether he follows the right way or not. In relation to congregational prayers, the imām is the person who leads the prayer.