A credit default swap was confusing mainly because it wasn't really a swap at all. It was an insurance policy, typically on a corporate bond, with semiannual premium payments and a fixed term.
The Big Short: Inside the Doomsday Machine (movie tie-in) (ed. 2015)