A long, steady stage
For most of its life, a star fuses hydrogen into helium in its core. Our Sun is in this stage. The energy from fusion pushes outward while gravity pulls inward, keeping the star fairly stable for a very long time. 1 2
Stars end in different ways
When an average star like the Sun runs low on core hydrogen, it expands into a red giant and later sheds its outer layers. The remaining core becomes a white dwarf. Much more massive stars can explode and leave behind a neutron star or black hole. 1 2
The Sun will change far in the future
The Sun is about halfway through its long stable stage. In billions of years, it will expand into a red giant and later leave behind a white dwarf. This is a distant future event, not a danger people need to prepare for now. 1 2