Red giant will begin to expand into a subgiant. Eventually, the pressure builds up so much that the core will begin to fuse helium, and will expand even more into a red giant. At its largest, its surface (photosphere) will approximately reach the current orbit of Earth. It will then lose its atmosphere completely; its outer layers forming a planetary nebula and the core a white dwarf. The evolution of the Sun into and through the red-giant phase has been extensively modelled, but it remains unclear whether Earth will be engulfed by the Sun or will continue in orbit. The uncertainty arises
Pre-main-sequence star Pre-main-sequence star A pre-main-sequence star (also known as a PMS star and PMS object) is a star in the stage when it has not yet reached the main sequence. Earlier in its life, the object is a protostar that grows by acquiring mass from its surrounding envelope of interstellar dust and gas. After the protostar blows away this envelope, it is optically visible, and appears on the stellar birthline in the Hertzsprung-Russell diagram. At this point, the star has acquired nearly all of its mass but has not yet started hydrogen burning (i.e. nuclear fusion of hydrogen). The star then