To keep the wind out
 
Stop the noise  
Keep water out  
Stop insects getting into the ship