Subrogation is the substitution of one person to the rights of another. It may be conventional or legal.
La. C.C. § 1825