Grammar reviewWho is for people: the man who called. Whom is for people too, but as the object: the man to whom I spoke. Whose shows who owns something: the man whose car this is. Which is for things or animals: the book which I read. That can replace who or which in defining relative clauses: the book that I read. It is not used in non-defining relative clauses set off by commas.
Did you know?Commas can change the job of a relative clause.
The student who works hardest will succeed identifies which student we mean. My brother, who lives in London, is a doctor adds extra information about someone already identified. In that second kind of clause, English uses commas and does not use that. It's worth checking both the pronoun and the punctuation.