Derailment takes place when a rail vehicle such as a train comes off its rails. Although most derailments are minor, all result in temporary damage of the proper operation of the railway system and they are a potentially serious danger.