Galaxies—massive collections of gas, dust, and billions of stars and their solar systems—are a fundamental component of our Universe. Understanding how they have formed and evolved over cosmic eras remains one of the greatest challenges of modern astronomy.