The antecedent of the pronoun is the word it refers back to. A pronoun must agree with its antecedent in gender and number.