Global warming, the phenomenon of increasing average air temperatures near Earth's surface over the past one to two centuries, happens mostly in theΒ troposphere, the lowest level of the atmosphere, which extends from Earth's surface up to a height of 6β11 miles.