What role does oil play in the economies of Saudi Arabia and Iraq?

One sentence

Oil plays a significant role in the economies of Saudi Arabia and Iraq, as it accounts for a large portion of their GDP, government revenues, and export earnings.