What part of speech does a pronoun have to agree with?
A pronoun must agree with its antecedent noun, the noun that it is taking the place of. The pronoun must agree in number (singular or plural) and gender (male, female, neuter) with its antecedent.