The foreign exchange market allows currencies to be bought and sold between individuals, firms, banks, and central banks. It is a decentralized global market system rather than a physical place. Many currencies are traded and exchanged. The key functions of the foreign exchange market are to transfer purchasing power between countries, provide credit for international trade, and allow hedging against currency fluctuations through future contracts. There are two main types of markets - the spot market where transactions are settled immediately, and the forward market where exchange rates are agreed upon today for future transactions. Common transactions include hedging to mitigate exchange rate risk, arbitrage to profit from price differences, speculation to profit from rate changes, and currency swaps conducted by banks.