Allyl propyl disulfide explained

Allyl propyl disulfide is an organosulfur compound with the chemical formula C3H5S2C3H7. It is a volatile pale-yellow liquid with a strong odor. It is a major component of onion oil and is used in food additives and flavors.[1]

Allyl propyl disulfide is present in garlic and onion. When onion or garlic is sliced, the substance evaporates and causes eyes to irritate.[2] When garlic or onion is cooked, it also evaporates, ridding them of the spicy taste, and leaving a sweet taste.

References

  1. Lawson, Larry D.; Wang, Zhen Yu J.; Hughes, Bronwyn G. "Identification and HPLC quantitation of the sulfides and dialk(en)yl thiosulfinates in commercial garlic products" Planta Medica 1991, vol. 57, pp. 363-70.
  2. https://www.cdc.gov/niosh/npg/npgd0020.html CDC - NIOSH Pocket Guide to Chemical Hazards