Carbon dioxide and other pollutants in the air accumulate in the atmosphere creating an increasingly thick layer. It captures more heat from the Sun, and as a result, our planet heats up much more,a s if it were a greenhouse.
WHY? Because it's a pollutant gas