that phase—lasting approximately 500,000 years—the Sun will only have about half of its current mass. The post-asymptotic-giant-branch evolution is even faster. The luminosity stays approximately constant as the temperature increases, with the ejected half of the Sun's mass becoming ionized into a planetary nebula as the exposed core reaches , as if it is in a sort of blue loop. The final naked core, a white dwarf, will have a temperature of over , and contain an estimated 54.05% of the Sun's present-day mass. The planetary nebula will disperse in about 10,000 years, but the white dwarf will survive for trillions of years before fading to a hypothetical black dwarf. Motion and location Solar System The Sun has eight known planets orbiting around it. This includes four terrestrial planets (Mercury, Venus, Earth, and Mars), two gas giants (Jupiter and Saturn), and two ice giants (Uranus and Neptune). The Solar System also has nine bodies generally considered as dwarf planets and some more candidates, an asteroid belt, numerous comets, and a large number of icy bodies which lie beyond the orbit of Neptune. Six of the planets and many smaller bodies also have their own natural satellites: in particular, the satellite systems of Jupiter, Saturn, and Uranus are in some ways like miniature versions of the Sun's system. The Sun is moved by the gravitational pull of the planets. The center of the Sun is always within 2.2 solar radii of the barycenter. This motion of the Sun is mainly due to Jupiter, Saturn, Uranus, and Neptune. For some periods of several decades, the motion is rather regular, forming a trefoil pattern, whereas between these periods it appears more chaotic. After 179 years (nine times the synodic period of Jupiter and Saturn), the pattern more or less repeats, but rotated by about 24°. The orbits of the inner planets, including of the Earth, are similarly displaced by the same gravitational forces, so the movement of the Sun has little effect on the relative positions of the Earth and the Sun or on solar irradiance on the Earth as a function of time. Celestial neighbourhood Galactic context Observational history Early understanding The Sun has been an object of veneration in many cultures throughout human history. Humanity's most fundamental understanding of the Sun is as the luminous disk in the sky, whose presence above the horizon causes day and whose absence causes night.