Its primary purpose is to alert persons and animals to an oncoming train, especially when approaching a level crossing. They are often extremely loud, allowing them to be heard from great distances. They are also used for acknowledging signals given by railroad employees, such as during switching operations.