The characterization of debt as recourse (where the borrower is personally liable for repayment of the loan) or nonrecourse (where the lender's sole recourse is to its security) can have important income tax consequences.  When nonrecourse debt is forgiven in connection with a sale of property, the amount of the debt is included in the taxpayer's amount realized and is usually taxed as capital gain.