The Doppler shift is the change in the frequency of a wave that an observer gets when the source of the wave moves toward them or away from them.
A siren sounds higher as it races toward you and lower after it passes. The siren did not change its tune. What changed is how the waves reached you.
Moving toward you: the waves are squeezed together, so the frequency you get is higher. Moving away: the waves are stretched apart, so the frequency you get is lower.
Each ring on the stage is one wave front. A front spreads out at the same speed in every direction from the spot where the source was when it sent that front. The small dots mark those spots.
The source keeps moving, so each new ring starts a little farther along. Ahead of the source the rings end up close together: a shorter wavelength. Behind it they end up far apart: a longer wavelength.
Frequency is how many fronts reach you each second. Rings that are close together arrive more often, so the frequency is higher. Rings that are far apart arrive less often, so it is lower.
Sound. A higher frequency is a higher pitch.
Light. A higher frequency is a shift toward the blue end of the spectrum, called a blueshift. A lower frequency is a shift toward the red end, called a redshift.
Nobody can fly to a star with a speedometer. Light is all that reaches us, and the Doppler shift turns that light into a speed.
Every element absorbs light at its own exact wavelengths, which leaves dark lines in a spectrum. Hydrogen makes the same lines everywhere. If a galaxy's hydrogen lines sit closer to the red end than they do in a lab, the galaxy is moving away, and the size of the shift tells how fast.
The expanding universe. The light from almost every distant galaxy is redshifted, and the farther the galaxy, the larger the redshift. The whole universe is expanding. Run that backward and everything was once packed together, hot and dense, about 13.8 billion years ago: the Big Bang.
No center. Every galaxy moving away from us sounds as if we are at the middle. We are not. From any galaxy, all the others move away in the same pattern, so every galaxy sees itself at the "center". The Big Bang was not an explosion at one spot: space itself has been stretching everywhere at once.
Other uses. A planet tugs its star back and forth, so the star's lines wobble between red and blue: that is how many planets around other stars were found. One side of a spinning galaxy is blueshifted and the other redshifted, which shows how fast it turns. Two stars in orbit around each other show lines that swing apart and back.