Via nuclear fusion.
In the centre of the sun, the pressure is so great - approximately 700 million tonne per square inch. this places a great amount of pressure on the atoms which then exposes their nuclei. this then cause a reaction - other atoms interact with each other therefor radiation is produced ---> heat and light.
That put it simply.
nuclear fusion {energy}
The chromosphere produces the light and heat for the sun.
The sun PRODUCES heat instead of making heat.
The sun produces heat because in its core it fuses Hydrigen into Helium causing massive explotions in the sun's core. The heat of the explotions warm the outer layers of the.
The energy which produces light and heat in the Sun comes from "nuclear fusion" deep inside the Sun.
heat
By Fusion
By Fusion.
Mechanical energy
light to make heat The the sun burns off the gas from the center of when the sun was made.So it produces heat and light
the sun produces light ,heat ,energy,and so much more
The Photosphere
the core