A guaranty is an undertaking on the part of one person (the guarantor) that is collateral to an obligation of another person (the debtor or obligor), and which binds the guarantor to performance of the obligation in the event of default by the debtor or obligor. A guaranty agreement is a type of contract. Thus, questions relating to such matters as validity, interpretation, and enforceability of guaranty agreements are decided in accordance with basic principles of contract law.