It would be the thermosphere. This layer absorbs a lot of ultraviolet and x-ray radiation from the sun coming in to Earth, converting this radiation into heat. Then, that heat makes small amount of oxygen on that layer very excited, causing the oxygen atoms to move rapidly. heating the thermosphere more.