The functional, congregational sense of imam used throughout Sunni practice, denoting whoever leads a given prayer, is entirely distinct from the specifically Shia theological sense of Imam, capitalized in most English-language usage, denoting one of the twelve, or, in Ismaili branches, a differently numbered line of divinely appointed and infallible successors to the Prophet Muhammad through his family, a doctrinal claim with no equivalent in Sunni Islam, which holds that Muhammad's successors, the caliphs, were rightly chosen by the community rather than divinely designated through his bloodline. This terminological overlap, one word covering both an everyday functional role performed by ordinary Sunni Muslims constantly and a singular, cosmically significant office central to Shia theology, is a frequent source of confusion for readers encountering the term outside its specific doctrinal or functional context.
The word is also used as a broader honorific for a highly respected Sunni religious scholar or historical legal authority, as in Imam Abu Hanifa or Imam al-Shafi'i, founders of two of the four major Sunni schools of jurisprudence, a usage denoting exceptional scholarly stature rather than either the ordinary congregational prayer-leading role or the Shia doctrinal imamate, a third distinct sense the word carries depending entirely on its context.