When a train or a subway derails, its wheels accidentally leave the tracks. Train cars that derail can cause the cars behind them to crash. Mistakes by engineers or flaws in the track can derail a train or trolley, sending it off the rails and sometimes injuring the passengers.