John had an apple. He ate it.
Resolve the pronoun to the antecedent it refers to.
In the given sentence, the pronoun "He" refers to the antecedent "John," and the pronoun "it" refers to the antecedent "apple."