Before money was invented, people used a barter system to trade goods and services directly. Under this system, if a farmer had extra corn but needed meat, he could trade corn directly to another person with extra meat. However, bartering was inefficient as it was difficult to find someone who was willing and able to trade exactly what you needed. People then started using commodities like corn, eggs, or metals as a common medium of exchange that could be traded for any other good, paving the way for the modern money system.