The total value of goods and services produced by a country during a year, which includes consumption, government purchases, investment and exports minus imports.