Question:
Treasure hunters have to constantly fear running into bandits because they could be risking their lives if they encounter them.

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

Question:
The teachers failed the students because they answered the test incorrectly.

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

Question:
Sarah tried to ignore the elephant in the room, but she would not stop trumpeting.

Who is she referring to in this sentence?
---
Answer:
the elephant in the room

Question:
Robert fired Chris because he no longer needed workers.

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