This Is a Certified Answer

Certified answers contain reliable, trustworthy information vouched for by a hand-picked team of experts. Brainly has millions of high quality answers, all of them carefully moderated by our most trusted community members, but certified answers are the finest of the finest.
In night, there is no heat from sun. It is the green house gases which help in keeping the earth from getting very cold by the heat they trap in day time
Greenhouse gases are essential in the following ways-

1.They help in maintaining the moderate temperature on the Earth's surface.
2. Without these gases, the Earth's temperature would fall down to a great extent.
3.The optimum temperature maintained by these gases is essential for organisms to survive.
4.The heat trapped by these gases is used by oceans in evaporation which results in formation of rain, snow or hail.

I hope it helps:)