The atmosphere gets heated in the following ways:
1. Radiation2. Conduction 3. Convection 4. Advection