How is the Expansion of the Universe Related to the Doppler Effect?

Source: Universe Today

Have you ever wondered why the pitch of a siren drops while an ambulance passes by? Or wondered how scientists discovered that the universe was expanding? Well, believe it or not, the answers to those two questions are deeply related through something called the Doppler effect.