I believe they were called manned torpedoes and the way they were used was that divers would ride on top of them, attach them to the enemy ship, swim away, and detonate them from a (hopefully) safe distance. Later, these vehicles were slightly redesigned to not use explosives so recreational divers could use them for…