Radiation from the sun heats the Earth's surface by means of rays that are trapped in the atmosphere and allow the Earth to have constant heat.
The surface of the Earth heats up due to the sun's rays that hit it and when they enter the atmosphere they are reflected on the surface being trapped between the atmosphere and the surface.
Another important aspect to keep in mind is that the rays strike at different angles throughout the Earth, for example:
Learn more about solar rays in: https://brainly.com/question/919704