Macroeconomics is the branch of economics that studies the overall performance and behavior of an economy as a whole. It examines the broad economic factors that influence the decisions made by consumers, businesses, and governments, and how these factors impact the economy at a national or global level.