A CDS is a bilateral contract between two counterparties. The protection buyer is buying insurance: he/she pays premiums in exchange for a payoff in case there is a CREDIT EVENT (a trigger)