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.
National pipe thread
The taper on NPT threads allows them to form a seal when torqued as the flanks of the threads compress against each other, as opposed to parallel/straight thread fittings or compression fittings in which the threads merely hold the pieces together and do not provide the seal. The various types of pipe threads are designed for use both with or without thread sealants, as particular applications demand. The sealants, where used, are typically thread seal tape or pipe dope (sometimes plumber's putty). As the thread body is tapered (), a larger diameter keeps compressing into a smaller diameter and finally forms a seal (no clearance remains between the crests and roots of the threads because of the taper). This means that NPT fittings should be burr-free and lubricated using a lubricant like lubricating paste or thread seal tape. The use of tape also helps to limit corrosion on the threads, which otherwise can make future disassembly nearly impossible.