Complex sentence: In all cases, the fermentation must take place in a vessel that allows carbon dioxide to escape, but prevents outside air from coming in, as exposure to oxygen would prevent the formation of ethanol.
Split into simpler sentences: In all cases, fermentation must take place in a vessel that allows carbon dioxide to escape but prevents outside air from coming in. This is because exposure to oxygen would prevent the formation of ethanol.