Macroeconomics is the branch of economics that studies the overall performance and behavior of an economy as a whole, focusing on factors such as total output, unemployment, inflation, and economic growth. It examines the relationships between broad economic indicators and how they interact to shape the economic landscape at the national or global level.