What year will the sun become a new nebula
At its largest , it will approximately reach the orbit of the Earth , before losing its atmosphere completely as a planetary nebula and leaving the core to become a white dwarf .