The Sun is a yellow dwarf star (G2V), about 4.6 billion years old, and the dominant gravitational force in the Solar System. It has a diameter of roughly 1.4 million kilometers and contains around 99.8% of the Solar System’s mass. Nuclear fusion in its core converts hydrogen into helium, producing energy that warms the planets. Above the core lie the radiative and convective zones, followed by the visible photosphere (~5,500 °C), the chromosphere, and the much hotter corona (~2 million °C).
Source: science.nasa.gov
11/06/2023

Here are all the visible colors of the Sun, produced by passing the Sun's light through a prism-like device. The spectrum was created at the McMath-Pierce Solar Observatory and shows, first off, that although our white-appearing Sun emits light of nearly every color, it appears brightest in yellow-green light. The dark patches in the featured spectrum arise from gas at or above the Sun's surface absorbing sunlight emitted below. Since different types of gas absorb different colors of light, it is possible to determine what gasses compose the Sun. Helium, for example, was first discovered in 1868 on a solar spectrum and only later found here on Earth. Today, the majority of spectral absorption lines have been identified - but not all.