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 branch terminology is still frequently used today. Modern stellar physics has modelled the internal processes that produce the different phases of the post-main-sequence life of moderate-mass stars, with ever-increasingly complexity and precision. The results of RGB research are themselves being used as the basis for research in other areas. When a star with a mass from about (solar mass) to ( for low-metallicity stars) exhausts its core hydrogen, it enters a phase of hydrogen shell burning during which it becomes a red giant, larger and cooler than on the main sequence. During hydrogen shell burning, the interior of the star goes