This is a conditional form and is used in conjunction with an if clause using the past perfect(pluperfect).
If I had left earlier, I would have caught the train.
The two clauses can be changed around in which case the comma is not necessary.
I would have caught the train if I had left earlier.
- For Teachers