The gross domestic product measures the level of economic activity within a country. To figure the number, the Bureau of Economic Analysis
combines the total consumption of goods and services by private individuals and businesses; the total investment in capital for producing goods and services; the total amount spent and consumed by federal, state, and local government entities; and total net exports. It's important, because it serves as the primary gauge of whether the economy is growing or not. Most economists define a recession as two or more consecutive quarters of shrinking GDP.