Here's why:
* Fusion Process: The Sun currently fuses hydrogen into helium in its core. This process releases energy and keeps the Sun stable.
* Red Giant Phase: Eventually, the Sun will run out of hydrogen fuel. It will then begin fusing helium into heavier elements like carbon and oxygen. This will cause the Sun to expand into a red giant, engulfing Earth in the process.
* White Dwarf Formation: After the red giant phase, the Sun will shed its outer layers, leaving behind a dense core of carbon and oxygen. This core, now a white dwarf, will slowly cool over billions of years.
So, while the Sun will not be composed of a single element, carbon and oxygen will be the predominant elements in the white dwarf stage.