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.
Market economy is what distinguishes the capitalist systems and the "opposite" is command economy - an economy which is centrally planned, that is, where the government decides what will be produced and how it will be distributed.