Stars, including our sun, expand into red giants as they reach the end of their life cycle. This phase is marked by a dramatic increase in size and changes in their outer layers.
During this transformation, the outer mass of the star begins to escape into space, creating a visually stunning display of cosmic activity.
The core of the star, meanwhile, contracts and ultimately becomes a white dwarf, marking the final stage of stellar evolution for most stars.