Above the troposphere lies the stratosphere where jet airplanes fly. Temperatures increase with altitude because of increasing amounts of ozone. The ozone layer within the stratosphere absorbs harmful ultraviolet rays of sunlight. As the mesosphere extends upward above the stratosphere, temperatures decrease.