Money provides four key functions for an economy,
1. medium of exchange
2. unit of account
3. store of value
4. standard of deferred payment
"when money specifies the value of something", it is performing a function as a medium of exchange, which is the primary function of money. Medium of exchange means the money is used to conduct transactions.
people use money to buy and sell goods.