Spanish Grammar/Relative pronouns

Relative pronouns are used to join a pronoun to an entire clause.

An example in English:

It was Lucy who sent the letter.

"Who sent the letter" is a relative clause and "who" is a relative pronoun. "Who" refers to the same thing as "it".