Prices as Signals
A price carries information. It tells buyers how scarce something is, and it tells sellers how much people value it. No single person or agency could gather all that information alone.
Two terms help here. Supply is how much sellers are willing to offer at each price. Demand is how much buyers are willing to buy at each price. The equilibrium price is the price where the two match.
When supply falls or demand rises, the price tends to rise. A higher price tells buyers to use less and tells producers it pays to make more. When supply outruns demand, the price tends to fall, which sends the opposite message. This happens across millions of sales every day, and nobody is in charge of it.
That is what economists mean by the price mechanism: changing prices move resources toward the uses people value most, without a central plan.