Detailed Solution:
The correct answer is “Both A and R are true and R is the correct explanation of A”.
While the atmosphere does receive some heat directly from the sun, the majority of its heating comes from the earth's surface after it absorbs solar radiation and re-emits it as infrared radiation.
Solar energy reaches the earth as shortwave radiation. The earth absorbs this energy and re-emits it as longwave (infrared) radiation, which heats the atmosphere.