by BritishCouncilLE
The past perfect describes an action which happened before something which we are already describing in the past:
- He missed the train because he had overslept.
- He didn't get a table at the restaurant because he had forgotten to book one.