The graphic above shows the layers of the sun. The inner layers are the Core, Radiative Zone and Convection Zone . The outer layers are the Photosphere, the Chromosphere, the Transition Region, and the Corona .
Photosphere: The photosphere is the deepest layer of the Sun that we can observe directly. It reaches from the surface visible at the center of the solar disk to about 250 miles (400 km) above that. The temperature in the photosphere varies between about 6500 K at the bottom and 4000 K at the top (11,000 and 6700 degrees F, 6200 and 3700 degrees C). Most of the photosphere is covered by granulation.
Chromosphere: The chromosphere is a layer in the Sun between about 250 miles (400 km) and 1300 miles (2100 km) above the solar surface (the photosphere). The temperature in the chromosphere varies between about 4000 K at the bottom (the so-called temperature minimum) and 8000 K at the top (6700 and 14,000 degrees F, 3700 and 7700 degrees C), so in this layer (and higher layers) it actually gets hotter if you go further away from the Sun, unlike in the lower layers, where it gets hotter if you go closer to the center of the Sun.
Transition Region: The transition region is a very narrow (60 miles or 100 km) layer between the chromosphere and the corona where the temperature rises abruptly from about 8000 to about 500,000 K (14,000 to 900,000 degrees F, 7700 to 500,000 degrees C).
Corona: The corona is the outermost layer of the Sun, starting at about 1300 miles (2100 km) above the solar surface (the photosphere). The temperature in the corona is 500,000 K (900,000 degrees F, 500,000 degrees C) or more, up to a few million K. The corona cannot be seen with the naked eye except during a total solar eclipse, or with the use of a coronagraph. The corona does not have an upper limit. “
Source: National Solar Observatory