Credit default swaps is the financial agreements that permit a bank or other lender to protect itself against credit (default risk) by receiving compensation from a counterparty to help offset excessive loan losses or excessive fluctuations in loan revenue.