Sulfur dioxide was first used in winemaking by the Romans, when they discovered that burning sulfur candles inside empty wine vessels keeps them fresh and free from vinegar smell.
It is still an important compound in winemaking, and is measured in parts per million (ppm) in wine. It is present even in so-called unsulfurated wine at concentrations of up to 10 mg/L. It serves as an antibiotic and antioxidant, protecting wine from spoilage by bacteria and oxidation – a phenomenon that leads to the browning of the wine and a loss of cultivar specific flavors. Its antimicrobial action also helps minimize volatile acidity. Wines containing sulfur dioxide are typically labeled with “containing sulfites”.
Sulfur dioxide exists in wine in free and bound forms, and the combinations are referred to as total SO2. Binding, for instance to the carbonyl group of acetaldehyde, varies with the wine in question. The free form exists in equilibrium between molecular SO2 (as a dissolved gas) and bisulfite ion, which is in turn in equilibrium with sulfite ion. These equilibria depend on the pH of the wine. Lower pH shifts the equilibrium towards molecular (gaseous) SO2, which is the active form, while at higher pH more SO2 is found in the inactive sulfite and bisulfite forms. The molecular SO2 is active as an antimicrobial and antioxidant, and this is also the form which may be perceived as a pungent odor at high levels. Wines with total SO2 concentrations below 10 ppm do not require “contains sulfites” on the label by US and EU laws. The upper limit of total SO2 allowed in wine in the US is 350 ppm; in the EU it is 160 ppm for red wines and 210 ppm for white and rosé wines. In low concentrations, SO2 is mostly undetectable in wine, but at free SO2 concentrations over 50 ppm, SO2 becomes evident in the smell and taste of wine.
SO2 is also a very important compound in winery sanitation. Wineries and equipment must be kept clean, and because bleach cannot be used in a winery due the risk of cork taint,[25] a mixture of SO2, water, and citric acid is commonly used to clean and sanitize equipment. Ozone (O3) is now used extensively for sanitizing in wineries due to its efficacy, and because it does not affect the wine or most equipment.
Source material: Wikpedia https://en.wikipedia.org/wiki/Sulfur_dioxide