The thermosphere is the fourth layer of the atmosphere (if counting from the Earth). It extends from the top of the mesosphere (80 km = 50 miles) to about 700 kilometers (440 miles) above Earth’s surface, where the exosphere begins. The thermosphere is very hot because the Sun’s ultraviolet radiation heats it. This layer contains the ionosphere, which is a region of charged particles.