The layers if the atmosphere are heated through Radiation from sun and convection currents, are responsible for heating.