After more than a decade of mapping billions of stars across the Milky Way and beyond, a groundbreaking spacecraft is retiring. The European Space Agency’s space-based observatory known as Gaia is leaving behind a legacy of stunning discoveries that changed what we know about the universe. John Yang reports.