Carbon dioxide is a greenhouse gas that traps heat in the Earth's atmosphere through the greenhouse effect, leading to global warming and rising temperatures. Increased CO2 does not cause cooling, has no effect on ultraviolet radiation (that's the ozone layer's role), and definitely changes Earth's temperature. This is a fundamental concept in climate science.