Oakum
Oakum can be used to seal cast iron pipe drains. After setting the pipes together, workers pack oakum into the joints, then pour molten lead into the joint to create a permanent seal. The oakum swells and seals the joint, the "tar" in the oakum prevents rot, and the lead keeps the joint physically tight.
Today, modern methods, such as rubber seals (for example, gaskets or o-rings) are more common.
Tar
In English, German, and French, "tar" is a substance primarily derived from coal. It was formerly one of the products of gasworks. Tar made from coal or petroleum is considered toxic and carcinogenic because of its high benzene content, though coal tar in low concentrations is used as a topical medicine. Coal and petroleum tar has a pungent odour.