Replacing one person with another in regard to a legal right or obligation. The substitution of another person in place of the creditor, to whose rights he or she succeeds in relation to the debt. The doctrine is used very often where one person agrees to stand surety for the performance of a contract by another person.