The main function of the price system is to ensure efficient allocation of resources in the economic system. Prices act as signals to buyers and sellers about the relative scarcity or abundance of goods and services. When the demand for a product increases, the price goes up, signaling suppliers to produce more to meet the increased demand. When the supply of a product increases, the price goes down, signaling buyers to purchase more of the product. This mechanism ensures that resources are allocated to where they are most needed or valued, and that production is focused on meeting the most urgent needs and wants of consumers. By allocating resources efficiently, the price system helps to maximize social welfare and economic growth.