In North America, containers are often shipped by rail in container well cars. These cars resemble flatcars but the newer ones have a container-sized depression, or well, in the middle (between the bogies or "trucks") of the car. This depression allows for sufficient clearance to allow two containers to be loaded in the car in a "double stack" arrangement. The newer container cars also are specifically built as a small articulated "unit", most commonly in components of three or five, whereby two components are connected by a single bogie as opposed to two bogies, one on each car (The photo above under "Equipment" shows an example of the new setup.) Double stacking is also used in parts of Australia. On some older railways, particularly in the United Kingdom, the use of well cars is necessary to carry single stacked large containers within the loading gauge.
It is also common in North America to transport semi-trailers on railway flatcars or spine cars, an arrangement called "piggyback" or TOFC (trailer on flatcar) to distinguish it from container on flatcar (COFC). Some flatcars are designed with collapsable trailer hitches so they can be used for trailer or container service. Such designs allow trailers to be rolled on from one end, though lifting trailers on and off flatcars by specialized loaders is more common. TOFC terminals typically have large areas for storing trailers pending loading or pickup.
A newer method of transporting trailers, the roadrailer, has been developed by RoadRailer Corporation, which is owned by the Norfolk Southern Railway. When the trailers are transported on rail, railway wheel assemblies are placed between the trailers, in effect turning the trailers into one large articulated railway car. This method is faster than carrying trailers on flatcars and requires no extra railway cars, but the trailers need to be specially designed (strengthened)
This information has been compiled thanks to: wikipedia.org