Tar was used on rope to protect natural fibres from moisture, rot, abrasion, and weather. Tarred rope was especially important in maritime and outdoor work.
Natural fibre rope is strong but vulnerable. Hemp, flax, manila, and similar fibres can absorb moisture, fray, rot, and weaken. On ships, rope lived in salt water, spray, sun, strain, and constant handling. Tar helped protect the fibres and extend working life.
Tarred rope was not clean or pleasant in the modern sense. It could be dark, smoky, stiff, sticky, and messy. But for sailors and riggers, those drawbacks were part of a useful trade-off. A rope that lasted longer and resisted wet decay was worth the smell and stained hands.
The material used was often related to pine tar and maritime tar traditions. Tar could be worked into cordage, marline, standing rigging, and other gear depending on need and period. It belonged to the same world as pitch, oakum, canvas, and wooden hull maintenance.
Modern synthetic rope changes the question. Many modern ropes do not need tar and may be damaged by unsuitable coatings. Tarred natural fibre rope remains important mainly for heritage, reenactment, traditional boats, and specialist craft.