because the outer layer is the layer that is visible .Since the Sun is a ball of gas, this is not a solid surface but is actually a layer about 100 km thick (very, very, thin compared to the 700,000 km radius of the Sun)
The Sun's outer gases extend far beyond the photosphere (Figure 6). Because they are transparent to most visible radiation and emit only a small amount of light, these outer layers are difficult to observe. The region of the Sun's atmosphere that lies immediately above the photosphere is called the chromosphere.