A market economy is an economy in which decisions regarding investment, production, and distribution are based on supply and demand, and prices of goods and services are determined in a free price system. The major defining characteristic of a market economy is that investment decisions and the allocation of producer goods are mainly made by negotiation through markets. This is contrasted with a planned economy, where investment and production decisions are embodied in a plan of production.