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
06/11/2022

Does this strange dark ball look somehow familiar? If so, that might be because it is our Sun. In the featured image from 2012, a detailed solar view was captured originally in a very specific color of red light, then rendered in black and white, and then color inverted. Once complete, the resulting image was added to a starfield, then also color inverted. Visible in the image of the Sun are long light filaments, dark active regions, prominences peeking around the edge, and a moving carpet of hot gas. The surface of our Sun can be a busy place, in particular during Solar Maximum, the time when its surface magnetic field is wound up the most. Besides an active Sun being so picturesque, the plasma expelled can also become picturesque when it impacts the Earth's magnetosphere and creates auroras. Compute it Yourself: Browse 2,900+ codes in the Astrophysics Source Code Library