When a pronoun replaces a noun, the noun is called the antecedent. For example, in the sentence: "The dog that was walking down the street", the relative pronoun is the word that referring back to the antecedent, the word 'dog'. In the sentence "The spy who loved me", the relative pronoun is the word 'who' and its antecedent is the word 'spy'.