We can hear the sound of the horn of an approaching car before the car reaches, because:
Sound travels through air at an approximate speed of 330 m/s which is many times greater compared to the speed of a car. Hence, due to relative speed, the horn sound of an approaching car is heard first than the car.