That's why money became a thing. Rather than requiring bartering items with unstable values and where demand may not be as universal as hoped, money possesses both transferability and divisibility, even if that money is in an early form -- what's called "commodity money." Commodity money is somewhere between random baskets of eggs and paper cash.
Commodity money and fiat currency
Commodity money was the first real stab at money as we know it. Instead of accepting goods or services in trade for very different goods and services, people found certain objects that had wide appeal, were easy to store, kept for a long time, and could be easily traded and divided, in case you needed less than one beaver pelt worth of flour.
Beaver pelts were actually a popular form of commodity money in the early United States since they were abundant, useful, and easy to trade. But over time, the beaver trapping world fell away, and mining became a more common trade, birthing metal as currency in the U.S. (and, of course, the Romans did this long before we ever did). Metal-backed paper money, like bills, was built on silver and gold standards. Finally, currency evolved into the paper money and digital money we use today.
That unbacked paper money was a huge change in how money is thought about and marked the move from commodity money to fiat money. The value of fiat currency is defined by the economic environment and the faith of the people using it, nothing more. Some will try to say that this means all money is an illusion, but the truth is that we just decided that one piece of paper is worth the same as five beaver pelts, and the vast global economy keeps the belief in that idea alive.
Defining money by its properties
If you want to talk about money by its properties rather than its history, there are a few very strict properties it should possess:
- Fungibility. Fungibility means that every dollar is the same as every other dollar, more or less. They might be different years or have different serial numbers, but every George Washington can be directly swapped for another George Washington without any loss of value or utility.
- Durability. Your money has to be durable and able to stand up to many rounds in the washing machine, as well as time. Back in the old barter system, decay was the enemy of stores of value like fruit, which had to be bartered quickly before losing all its value. Money has value for the amount of time it exists, so it must exist for a long time.