What is the Sun made of?
Unlike rocky planets such as Earth, the sun does not have a definitive outer boundary. However, the different layers beneath the Sun’s surface are defined by their temperatures and density. Although the core is on average the hottest part of the Sun, the complex relationship between rising heated gases and falling cooled gases create temperature fluctuations within the layers of the Sun itself.
(Image courtesy of NASA)