What is the difference between barter trade and trade in which currency is used as the medium of exchange

What is the difference between barter trade and trade in which currency is used as the medium of exchange