HSBC interview question

Whats a Credit default swap