Economics is a social science that uses the scientific method to study how societies allocate scarce resources to satisfy unlimited wants. It has two main fields: microeconomics, which focuses on individual economic units like consumers and firms, and macroeconomics, which looks at aggregate outcomes for the whole economy like growth, employment and inflation. The key economic agents that interact in markets are consumers, who maximize utility; producers, who maximize profit; and the public sector, which aims to maximize social welfare.