Question: The United Federation of Worlds attempts to bring civilization and rule to the population of millions of planets, because they want to unite the planets under the same rules.
Based on this sentence, who is they?

Answer: The United Federation of Worlds


Question: James cheated off Henry's test, and the Teacher told him.
Based on this sentence, who is him?

Answer: Henry


Question: A person is more productive on an IDE than a text editor, therefore it should be used in general practice.
Based on this sentence, who is it?

Answer: an IDE


Question: Sue visited Nadia for dinner because she invited her.
Based on this sentence, who is she?

Answer:
Nadia