A main-sequence star with a mass similar to the Sun eventually evolves into a red giant once the hydrogen fuel in its core is depleted.
Describe the sequence of physical processes that occur within and around the core of the star during this transition.