Smart or “intelligent” pigs inspect the pipeline with sensors and record the data for later analysis.