What happens to the temperature when there is more carbon dioxide in the atmosphere?
The more carbon dioxide in the atmosphere, the higher the average temperature on earth. Long-waved sunrays hit the surface of the earth, and turn into heat. They are partially reflected, and would go back into space as heat-waves. But the CO2 and other greenhouse gases reflect it partially back to the earth.