I believe the answer is: The core.
The core of the sun creates a process known as nuclear fision that converts hydrogen atoms into helium.
This process creates large amount of energy that radiated towards the surface of the Sun and the magnitude even felt to faraway planets.