Train whistles are used to communicate with other railroad workers on a train or in the yard. Specific combinations of long and short whistles have specific meanings. They are used to pass instructions, as a safety signal, and to warn of impending movements of a train.