Sailors would use seawater, but people back on land were cleaning their clothes with urine. They used it as a detergent before soap was common in the laundry routine. The ammonia from urine worked well to remove stains. Nowadays, we don’t recommend that.