A credit default swap (or CDS for short) is a kind of investment where you pay someone so they will pay you if a certain company gives up on paying its bonds, or defaults. A credit default swap is like insurance on bonds, but different from insurance in important ways: