Sort:  

Pirates drunk rum with water because water after being stored for long had a bad taste

Also because the alcohol killed the deadly bugs in the water.