Within what limits does the temperature of the Sun change from its center to the photosphere?

Within what limits does the temperature of the Sun change from its center to the photosphere? Which layer of the sun is the main source of visible light?

from 15,000,000 K to 6,000 K, photosphere.

Remember: The process of learning a person lasts a lifetime. The value of the same knowledge for different people may be different, it is determined by their individual characteristics and needs. Therefore, knowledge is always needed at any age and position.