Problem: The fish ate the worm . *It* was tasty.
Are "It" and "The fish" the same?
****
Answer: no


Problem: The dog chased the cat , which ran up a tree. *It* waited at the bottom.
Are "It" and "the cat" the same?
****
Answer: no


Problem: I saw Jim yelling at some guy in a military uniform with a huge red beard. I don't know why *he* was, but he looked very unhappy.
Are "he" and "Jim" the same?
****
Answer:
yes