The easiest way to think about this is that you are not physically buying or selling anything.
You are making a bet on the direction of the exchange rate of a currency pair.
For example, if you think GBP/USD will go up, you buy or “go long”. If you think GBP/USD will go down, you sell or “go short”.