GDP measures the market value of a country’s economy. It includes all the products and…