This tune is known as a "Sea Shanty". It was sung by
sailors while they performed certain tasks together,
like the hauling of rope. Drunken Sailor appeared
amongst seafarers around 200 years ago, and became
popular with landlubbers in the 20th century.