G-type main-sequence star
A G-type main-sequence star, often referred to as a G dwarf star, is a type of star that falls within the spectral class G. These stars have surface temperatures ranging from about 5,300 to 6,000 Kelvin and are characterized by their yellowish color. The most well-known example of a G-type main-sequence star is the Sun, which provides the necessary heat and light for life on Earth.
G-type main-sequence stars generate energy through the process of nuclear fusion, primarily converting hydrogen into helium in their cores. They typically have a lifespan of around 10 billion years, spending the majority of that time in a stable phase known as the main sequence. After exhausting their hydrogen fuel, they will eventually evolve into red giants before ending their life cycle as white dwarfs.