A swap is a derivative contract that involves two parties exchanging cash flows or liabilities from two different financial instruments. Swaps typically involve cash flows based on a loan or bond, but it can be virtually anything. The most popular types of swaps are interest rate swaps, commodity swaps, and currency swaps.