 The rails and perpendicular beams are placed on a foundation made of concrete or compressed earth and gravel in a bed of ballast.Alternative methods include monorail and maglev.A train consists of one or more connected vehicles that operate on the rails.