Question:
Peacocks are considered very majestic birds by bird watchers because they are considered quite beautiful due to their vivid colors.

Who is they referring to in this sentence?
---
Answer:
Peacocks

Question:
Chris was running after John, because he stole his watch.

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

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

Who is it referring to in this sentence?
---
Answer:
an IDE

Question:
The construction workers hollered at the girls when they walked by.

Who is they referring to in this sentence?
---
Answer:
the girls