For spot trading, volume is the unit of base currency being exchanged between buyers and sellers. There is no open interest for spot trading.
For derivatives, volume is the number of derivative contracts being exchanged between buyers and sellers. Open interest is the number of contracts that are still open and held by traders. These contracts have not been closed out, expired or exercised.