Gaffer tape (aka Duct tape) was originally developed during World War II in 1942 as a waterproof sealing tape for ammunition casings.
(It was invented by Permacel, then a division of Johnson & Johnson,it was originally called Duck Tape because it was waterproof – “Like water off a duck’s back”.)