Like any star of similar mass would do, once the Sun has exhausted the hydrogen in its core, it expands into a red giant, eventually ejecting its outer envelope of gases to become a white dwarf.
(B) Like any star of similar mass, once the hydrogen in the Sun's core is exhausted, then it expands into a red giant and eventually ejects