While macroeconomics examines the economy as a whole, microeconomics focuses on individual economic agents, such as households and firms. Macroeconomics deals with aggregate variables like GDP, inflation, and unemployment, while microeconomics delves into the behavior of individual consumers, producers, and markets.