Whom is used when you talk about a person who gets the action in a sentence. It is common in questions and sentences that describe someone.
Whom did you see at the park?
The man whom I met was kind.
Whom is more formal than who when you use it after a preposition or to ask about the object. It is used especially in writing or polite speech.
To whom should I send the letter?
Whom are you talking about now?
Whom links two parts of a sentence and talks about a person who receives an action in the second part. It helps to add extra information about someone.
The teacher whom you respect is here.
She is someone whom I trust.
When a person is the object of a preposition like with, to, or for, in formal English we use whom after the preposition. This is common in writing or polite conversation.
With whom are you going to the party?
The person to whom I spoke was helpful.
Whom is sometimes used in formal or rhetorical questions to emphasize the person involved. These uses are more advanced and often appear in formal speeches or writing.
Whom shall we blame for this mistake?
To whom does this honor belong?
In legal or official documents, whom is often used to clearly refer to people who receive actions or are affected by something. This usage is formal and careful.
The defendant, whom the court found guilty, must pay.
To whom it may concern, please read this letter.
Whom is sometimes used in old or poetic language as the object form of who. This shows respect or style and is less common today.
Whom the gods love die young.
To whom all hearts do bow.