pronouns are words that take the place of a noun to shorten speech by preventing repetition.
who and whom are used mainly for people. They can also be used to refer to animals that are mentioned by name
Which is used for animals in general or things .
what is used for questions