The Sun has several layers. The temperatures and the pressures increase as we move towards the center of the sun. The photoshpere is the outer layer. The temperature of the photosphere is 6000*C.
The core is the hottest part of the Sun. As the name suggests, it is the central part of the Sun. Here, the temperature is 14000 000*C. The core is surrounded by the radiative zone. In this zone, the solar material is hot and dense enough for heat to be transferred from the core through thermal radiation. The convective zone surrounds the radiative zone.