A financial derivative contract where two parties exchange the returns on equity securities for returns on another financial instrument, such as interest rates or commodities.