A credit default swap (CDS) is a contract that protects lenders from borrower default. Learn how a CDS works, why they’re ...