A lot of speakers get confused when it comes to using who and whom, here’s the logic:
Who, an interrogative pronoun, refers to -what or which person or people and is used in place of the subject of a question
- Who is in the team?
- Who did this?
It is used to question a person’s character or authority.
Who is used in statements as well, in place of the subject of a clause.
- Sameer is the one who wants to play.
- Anyone who knows the motive should be able to help us.
‘Whom’ is also an interrogative pronoun, however, it is used in place of the object of a question- more so, in formal writing or speech.
- Whom is this story about?
- With whom are you going to the party?
- Whom did they call?
Whom is used as object of a verb or a preceding preposition
- to know for whom his heart beats.
It is also sometimes used as the object of a following preposition
- the woman whom you wrote to.
And whom can also be used in statements, in place of the object of a clause.
- This is the girl whom I was talking about.
- Mani is the man whom we met at dinner last week.
Whom is always the correct choice after a preposition.
- The students, some of whom are graduating this year, failed the test.
- Jaspreet is the girl with whom I’m going to Nagaland.