... If a distant galaxy is moving relative to us, its entire spectrum is Doppler-shifted in frequency. Its spectral lines are displaced relative to those of stationary light sources. Thanks to this effect, we know that distant galaxies recede from the solar system at speeds proportional to their distances from us. That's the effect that told us of the expanding universe, and of its birth, long ago, in the Big Bang.