Train horns have been in use as long as have locomotives. They are used by engineers to alert motorists and pedestrians that the train is nearing a crossing, to inform passengers that the train will be departing the station and of course, to clear animals off of the tracks before a train comes through. Train horns are used by rail company workers during switching operations and when performing track work to let approaching trains know of their presence.