A derailment occurs when a vehicle such as a train runs off its rails but does not necessarily leave the track entirely. Derailments result in temporary disruption of railway operations and pose safety hazards. Derailments can be caused by collisions with other objects, mechanical failures of tracks like broken rails, or mechanical failures of wheels. Common causes of derailments include primary failures of track components or vehicle parts, faults in track or wheel geometry that cause static failures, dynamic effects from track-vehicle interaction like excessive speed, improper operation of switches, or secondary events following collisions.