Inflation accounts for the price of actual goods. GDP tries to measure how much stuff you’re making. If you make the exact amount of stuff as last year but have 7% inflation, you’re GDP would grow by 7%. So to find out how much stuff a country is actually making, you use inflation adjusted real GDP.