Redshift
As the Universe expands, light from distant galaxies gets stretched to longer, redder wavelengths. The more it is stretched, the farther away and further back in time we are looking.
Light is a wave, and when its source recedes from us the wave is stretched, shifting it toward longer, redder wavelengths. Astronomers measure it as z, the fractional increase in wavelength: the observed wavelength minus the emitted one, divided by the emitted one. A galaxy at z = 1 shows every spectral line at twice its laboratory wavelength. There are three causes: ordinary Doppler motion through space, the climb out of a strong gravitational field, and, most important for cosmology, the expansion of space itself, which stretches light on its way to us.
Cosmological redshift turns the spectrum of a galaxy into a clock and a ruler. In an expanding Universe, a larger z means a more distant galaxy and an earlier epoch, so redshift surveys can map how the cosmos was built up. Hubble's law, v = H₀d, links redshift to distance at low z. Telescopes like JWST now find galaxies with z greater than 10, whose light left them when the Universe was only a few hundred million years old.