When you cut an onion, enzymes mix with the sulfur in the onion and form a sulfonic acid, syn-propanethial-S-oxide. This evaporates quickly and causes a burning sensation in your eyes.