When we observe distant galaxies,we often see them as they were billions of years ago small,chaotic and rapidly forming stars. Over time, gravity shaped them into larger,calmer systems. By studying galaxies at different distances,astronomers can piece together a timeline of cosmic evolution,like flipping through a photo album of the universe’s life.