The design of the pipeline also had to leave room for the pipe to "grow" or "shrink," since metals expand and contract with changes in temperature. The pipeline takes care of that movement by "bending" along built-in zigzags.
"Pigs" are mechanical devices pushed through the pipeline by the oil. They are named for the squealing sound they often make as they rub against the pipe. "Scraper pigs," like this one, clean the walls of the pipeline. Other, more complicated pigs inspect dents and wrinkles in the pipe, detect corrosion, and measure the pipeline's curvature.