A fourth function of money is that anytime you take on a debt, when the time comes to repay it, you can use money. This is highly related to the idea of "legal tender", which you can also learn about in this video.
License: CC BY-NC-SA by Khan Academy