The foreign exchange market allows currencies to be bought and sold and includes individuals, firms, brokers, banks, and central banks. It is a system rather than a physical place. Many currencies are traded, with the main functions being transferring purchasing power between countries, providing credit for international trade, and hedging against currency fluctuations. Foreign exchange markets are split into spot markets, where transactions are settled immediately, and forward markets, where the exchange rate is agreed now but the transaction occurs at a future date. The Foreign Exchange Management Act regulates foreign exchange transactions and restricts activities between residents and non-residents.