As pipelines are either buried underground or underwater, they need protection against external corrosion due to environmental factors like water, salts etc.