Relative Pronouns | Function | Example
------- | -------- | --------
who | Refers to people | The woman who lives next door is a doctor.
whom | Refers to people (used as the object of a verb or preposition) | I met the man whom you were talking about.
whose | Shows possession | That's the house whose roof was damaged in the storm.
which | Refers to things | The book which I borrowed is very interesting.
that | Refers to people or things (can often be used interchangeably with "who" and "which") | The car that I bought is a hybrid.
what | Refers to a thing or idea (often used in a noun clause) | What you said surprised me.
Here are some sentences that use relative pronouns in different contexts:
* The dog that barked all night is very friendly during the day.
* The student who aced the exam is very intelligent.
* The mountain, whose peak is covered in snow, is a popular hiking destination.
* The restaurant which serves the best pizza in town is always crowded.
* What you eat can have a significant impact on your health.
Key points about relative pronouns:
* They introduce relative clauses, which provide additional information about a noun (the antecedent) in the main clause.
* They connect the relative clause to the main clause.
* They have grammatical functions within the relative clause (subject, object, possessive).
Let me know if you have any other questions!