The atmosphere and clouds can both refract and absorb part of the sunlight  About half of the solar energy that illuminates the earth is absorbed by the land and water on the earth's surface  This thermal energy value is very huge  It can be concluded that the earth will gradually heat up and melt
However, fortunately there is a factor that can counteract this effect, namely
The value of heat energy emitted by the earth into outer space is similar to the value of heat energy absorbed by the earth.