Earlier quoted context omitted.
It's not betting (gambling), it's insurance . Is insurance insane?
How could you call it insurance when you have no interest in the original security? What are you insurance against?
I buy a house at a higher-than-usual price for the area, expecting its value to increase because of some development that is occurring nearby—an automotive manufacturer has recently agreed to build a plant about 10 minutes away, creating around 2000 jobs in the area.
However, the deal still needs to be approved by the Feds. If I wait until the approval, the house might cost even more to buy and potentially make my investment unprofitable (or not profitable enough). But if the plant is not approved, my house will likely not gain enough in value and I will have paid too much.
To insure against the Feds not approving the plant, I can by a CDS against that risk. I will lose a small amount of profit in my eventual sale of the house to pay for the CDS, but will also prevent a large (profit) loss in the event that the plant is not approved.
Note: In this example, I do not have any direct interest in the (future) plant, or the auto manufacturer, and I obviously do not control the actions of Federal regulators. Nevertheless, I am exposed to risks (and benefits!) taken by them as a homeowner in the area, and a CDS can be used to insure against those risks at minimal cost.
Admittedly, this is fairly sophisticated for an individual homeowner, but this kind of thing is routine for financial professionals. CDS is a kind of insurance, and it's totally legitimate, even though you are usually not insuring something you have a direct interest in.