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
Red giant system, if present, uninhabitable, some research suggests that, during the evolution of a star along the red-giant branch, it could harbor a habitable zone for several times 10 years at 2 AU out to around 10 years at 9 AU out, giving perhaps enough time for life to develop on a suitable world. After the red-giant stage, there would for such a star be a habitable zone between 7 and 22 AU for an additional 10 years. Later studies have refined this scenario, showing how for a star the habitable zone lasts from 10 years for a planet with an