Which function of money is described in the following statement? It serves as a medium…