In pipeline transportation, pigging is the practice of using devices known as pigs or scrapers to perform various maintenance operations. This is done without stopping the flow of the product in the pipeline. These devices are known as pigs because they scrape or clean just like a normal pig.