One is to earn the difference through foreign exchange trading to achieve profit, which is an investment behavior.
Another is to travel abroad in exchange for the country's currency for consumption, which is a kind of consumption behavior.
In other words, it depends on what you do with this foreign exchange.
Do you want to change dollars into cash or cash? Cash means you have dollars in your account. The exchange rate is different every day.
Cash means that your dollar is real dollar cash. Of course, you can also use this dollar to achieve profit/loss through the exchange rate with RMB.
You can also spend this dollar in the United States.