Any railway transport means (trains, motive-power units) are the objects potentially representing high danger to people and environment. This type of transport allows hauling of heavy cargoes and in big volumes. It is due to its potential danger why the railroad transportation field is subject to such a thorough regulation.
Detailed Rules concerning different aspects of railroad transportation may be found here.