Using new data from the Gaia space observatory, scientists studied thousands of stars in the Milky Way that resemble the Sun and found out how our star is going to evolve in the future.
The Sun is a yellow dwarf that is now 4.57 billion years old, and continues to heat up. Based on observations of the lives of other stars that match our star's parameters as closely as possible, the scientists concluded that the Sun would peak at its highest temperature at about 8 billion years of age.
Then it will cool down and increase in size, becoming a red giant at around 10-11 billion years of age. Eventually, the Sun will become a white dwarf at about 11.9 billion years.