Credit default swaps (CDS) are contracts that transfer credit risk from one party to another. A CDS controls credit risk, while an interest rate swap controls interest rate risk. If a reference entity experiences a credit event like default, the protection seller compensates the buyer. Restructuring is a controversial credit event because it can trigger a payout even for routine debt restructurings. A CDS has an option-like payoff because payment depends on a credit event occurring. For asset-backed securities, the focus is on cash flow adequacy rather than bankruptcy. Physical settlement of a CDS involves delivery of the reference obligation, while cash settlement involves a payment equal to the price difference.