From the primordial clouds of hydrogen and helium, the very first stars form, the building blocks of what will later become the Milky Way.
Ancient globular star clusters and the first protogalactic structures form the halo around the emerging Milky Way galaxy.
A dwarf galaxy collides with the young Milky Way and accelerates the formation of the thick disk and the structured halo.
The Milky Way develops its characteristic spiral arms as gas condenses into new generations of stars.
A molecular cloud collapses, possibly triggered by a nearby supernova, forming the core of our future solar system.
From colliding planetesimals in the protoplanetary disk, the young Earth gradually grows.
A Mars-sized object called Theia collides with the early Earth, leading to the formation of the Moon.
The increasing brightness of the aging Sun begins to drastically disrupt the Earth's climate systems.
The Milky Way and the Andromeda Nebula merge into one enormous elliptical galaxy, after billions of years of approaching each other.
The Sun swells into a red giant and may engulf the inner planets, including a scorched, unrecognizable Earth.
When the hydrogen supply in the Sun's core is depleted, it begins to swell into an immense red giant, hundreds of times larger than its current size. Mercury and Venus are almost certainly engulfed by the expanding outer layers, and Earth too – long since uninhabitable and stripped of its oceans – faces a great risk of being swallowed or at least completely scorched. This marks the definitive end of the solar system as we know it.