The fact that you can buy investments with money makes it a medium of exchange. Money is theoretically supposed to be a store of value as well, but it is not a good store of wealth, due to inflation. With current central bank policy (or at least Fed policy in the US), most interest bearing accounts are not currently a good way to store wealth, because after adjusting for inflation, their low interest rates mean that you are actually losing wealth over time.