The Three Functions of Money
Money does three core jobs:
Medium of exchange. Money is the go-between in a trade. Sellers accept it because they know they can spend it elsewhere. Instead of trading eggs for a haircut, you pay money.
Store of value. Money lets you hold on to buying power over time. You can work today, get paid, and spend the money next month or next year. Money is not a perfect store of value. Inflation, a general rise in prices, slowly reduces what each dollar can buy.
Unit of account. Money gives us a common measuring stick for value. How many eggs is a haircut worth? That's hard to say. How many dollars? Much easier. Prices in dollars let you compare very different things, from rent to groceries.