Money is functioning as a medium of exchange. Money makes transactions easier, instead of having to barter for items, you can complete transactions through the usage of money.
Money serves three primary functions unit of account, store of value and most important medium of exchange.