Photosphere
Photosphere is the visible surface of a star, the quasi-spherical shell from which most of the visible light escapes. It is the layer where the optical depth at visible wavelengths is approximately 2/3, marking the transition between optically thick deeper layers and optically thin outer layers. Because it is a gaseous layer rather than a solid surface, a star does not have a sharp edge.
In the Sun, the photosphere has an effective temperature of about 5,500 to 6,000 Kelvin, giving it
Geographically, the photosphere is the lowest portion of the Sun's atmosphere; just above lies the chromosphere