Who, whom

Who is the pronoun used for references to human beings and to animals with a name. It is grammatically the subject (never the object) of a sentence, clause or phrase: The woman who rented the room left the window open. Who is there? Whom is used when someone is the object of a verb or preposition: The woman to whom the room was rented left the window open. Whom do you wish to see?