The circular flow and GDP
Every dollar spent on a final good is a dollar of someone's income, so the economy's output can be measured as one flow round the circle, and GDP counts only final goods and services made inside the country in a year.
From AP Macroeconomics.