What does Subrogation Mean?

Subrogation means the substitution of one person for another, especially the legal doctrine of substituting one creditor for another. Taking on the legal rights of someone whose debts have been paid.