A train car has derailed and is lying on its side in the middle of a railroad track.