A swap is a derivative instrument in which two counterparties exchange the cash flows of the financial instrument of one party against those of the other party. The benefits in question depend on the nature of the financial instruments involved. In the case of a swap with two debt securities, the benefits in question may be periodic interest payments (coupons) related to these bonds. In particular, two counterparties accept the exchange of one cash flow over another. These flows are called “legs” of the swap. The swap agreement defines the data on which cash flows must be paid and how they are anticipated and calculated. Normally, at the time of contract start, at least one of these cash flows is determined by an uncertain variable such as a variable interest rate, exchange rate, share price or commodity price.  Exchange-traded derivatives (ETDs) are derivatives traded through specialty derivatives exchanges or other exchanges. A derivatives exchange is a market where individuals rely on standardized contracts defined by the stock exchange.  A derivatives exchange acts as an intermediary for all related transactions and takes the initial margin of both parties as collateral. The world`s largest derivatives exchanges (by number of transactions) are the Korea Exchange (a list of futures contracts, Eurex (which lists a wide range of European products such as interest rate and index products) and the CME Group (which consists of the merger of the Chicago Mercantile Exchange with the Chicago Board of Trade in 2007 and the acquisition of the New York Mercantile Exchange in 2008). According to the BIS, total revenue from global derivatives exchanges was $344,000 billion in the fourth quarter of 2005.
In December 2007, the Bank for International Settlements reported that “derivatives traded on the stock markets increased by 27% to a record $681 trillion.”  Derivatives are more common in modern times, but their origins date back centuries. One of the oldest derivatives are rice futures, which have been traded on the Dojima rice exchange since the 18th century.  Derivatives are ranked overall based on the relationship between the underlying and the derivative (e.g.B Forward, Option, Swap). the nature of the underlying assets (for example. B equity derivatives, foreign exchange derivatives, interest rate derivatives, commodity derivatives or credit derivatives); the market in which they operate (for example. B on the stock exchange or without a prescription); and their payment profile. Mortgage-backed securities are another type of common derivatives. In this broad category, the underlying assets are mortgages. Some common examples of these derivatives are: options are similar to futures contracts because they are agreements in which one party gives another party the opportunity to buy or sell a security at an agreed later date. The main difference between futures and options is that, in an option, the buyer is not required to follow the transaction if he chooses not to comply with the transaction. In the end, the exchange is optional. Derivatives can also be used with interest rate products.
Interest rate derivatives are the most used to hedge interest rate risks. Interest rate risks may arise if a change in interest rates results in a change in the value of the underlying price.