Sounding train horns is a critical, mandatory safety measure to warn people in or near the rail corridor that a train is approaching or about to move. Train crews must also sound the horn if their view is restricted or they perceive a hazard on or near the railway.