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
Nova two evolves into a red giant, leaving its remnant white dwarf core in orbit with the remaining star. The second star—which may be either a main sequence star or an aging giant—begins to shed its envelope onto its white dwarf companion when it overflows its Roche lobe. As a result, the white dwarf steadily captures matter from the companion's outer atmosphere in an accretion disk, and in turn, the accreted matter falls into the atmosphere. As the white dwarf consists of degenerate matter, the accreted hydrogen does not inflate, but its temperature increases. Runaway fusion occurs when the temperature of