Referring to sailors as "tars" goes back to the custom of using pine tar [byproduct of distilling turpentine] as a preservative on rigging and wood. Pine tar is still used, not only on vessels but on various parts of horses' tack and hooves. It is, among other things, an effective bacteriostatic.