Macroeconomics is a branch of economics that deals with the performance, structure, behavior, and decision-making of an economy as a whole. This includes regional, national, and global economies. Macroeconomists study aggregate measures of the economy, such as output or gross domestic product (GDP), national income, unemployment, inflation, consumption, saving, investment, or trade. Macroeconomics is primarily focused on questions which help to understand aggregate variables in relation to long run economic growth.
Macroeconomics and microeconomics are the two most general fields in economics. Given macroeconomists focus on large-scale phenomena, or aggregate variables, they differ significantly from microeconomists who study the principle-agent problem at a smaller level of analysis - either firms or consumers. This divide is institutionalized in the field of economics given difference in both methods and outcomes of interest.