QUES:
Who is they in the following sentence?

The pilots saved the passengers because they had a civic duty.

ANS:
The pilots

QUES:
Who is he in the following sentence?

Peter managed to win the lottery and loaned money to Rick, because he has enough money to freely loan to his friends.

ANS:
Peter

QUES:
Who is they in the following sentence?

The police called headquarters for help and they refused.

ANS:
headquarters