There are 3 kinds of light:
long wave infrared light,
visible light, and
short wave ultraviolet light.All three carry photonic energy that warms the planet when striking the surface.
This heat slowly radiates outward and interacts with the Earth’s atmosphere, especially the heavier molecules such as carbon dioxide and methane. Working together with the Greenhouse Effect, this is what has kept the Earth from freezing into a chunk of ice.
For related articles, copy and paste the above paragraph as search parameters into your search engine.
Also,
Search: electromagnetic spectrumSearch: greenhouse effect
Search: global warming
Classroom Demonstration of the
Greenhouse Effect:
>Greenhouse in a Beaker:
>>Watch CO2 Absorb Infrared Light (heat):
“What Is Infrared Radiation?”
https://samslair.blogspot.com/2019/10/what-is-infrared-radiation.html?m=1