How does the Doppler Effect Work?

Sound travels at a certain speed. When one moves towards a sound a sound the sound appears to become louder. This is because the person is moving into the sound so the sound doesn’t have to travel as far.