Whom is a pronoun used as the object of a verb or preposition in formal or traditional English. It denotes the person affected by an action, not the subject. In modern usage, it often appears in relative clauses or questions, though many speakers prefer 'who' in casual contexts.
Full pronunciation guide