Input (grade 5): All three nouns in the sentence can be replaced by pronouns: "She gave it to him."
Output (grade 5): A Subject Pronoun can replace a noun that is the of a sentence.