During winemaking and bottling, winemakers have to be careful not to let bacteria into the wine. These bacteria can create foul smelling aromas in the wine and even degrade it. 

A lot of bacteria spoilage happens during the bottling. Corks are notorious for containing bacteria that may enter the wine and create spoilage.