Banking

What is the primary economic function of a credit default swap for a protection buyer?