Credit Default Swaps (CDS) are financial instruments that allow for the swapping of credit risk. Essentially, they act as a form of insurance for lenders. If a borrower is unable to repay their debt, a CDS can be used to mitigate the lender's losses and help secure their own credit rating.