Foreign exchange is a transaction, in short, the exchange rate of buying and selling. You can buy and sell dollars, euros, gold spot and so on in the bank. You can also download a trading software yourself, find a regular platform vendor, and trade and buy on it.
Foreign exchange, called foreign currency in English, is a creditor's right held by monetary management organs (central bank, monetary management institution, foreign exchange stabilization fund and Ministry of Finance) in the form of bank deposits, treasury bonds and long-term and short-term government securities. Can be used when the balance of payments is in deficit.