Question:
The glass hit the floor and it broke.

Who is it referring to in this sentence?
---
Answer:
The glass

Question:
Shigeru Miyamoto was the mentor of Satoshi Tajiri, so he taught many things.

Who is he referring to in this sentence?
---
Answer:
Shigeru Miyamoto

Question:
The X-Factor is starting to overtake American Idol in the ratings race since they have the popular Simon Cowell as the judge.

Who is they referring to in this sentence?
---
Answer:
The X-Factor

Question:
The elephant trampled a fish and it died.

Who is it referring to in this sentence?
---
Answer:
a fish