An economic system is a set of rules that governs what goods and services to produce, how to produce them, and for whom they are produced.