To protect an asset a buyer of a swap makes periodic payments to the seller of the swap in return for protection from a credit "event" that has an effect on the asset. The assets are usually corporate bonds or mortgage-backed securities. Credit default swaps are a type of derivative.