Burning gasoline, like any kind of fossil fuel, makes carbon dioxide, which makes global warming. Since 2017, less gasoline powered automobiles are being made, and some places will not allow gasoline-powered automobiles in future, like Amsterdam in 2030.