Why Onions make your eyes water?

Onions get their pungency from sulfur. They also contain an enzyme called synthase, which reacts with the sulfur to create a chemical compound that is volatile. This gas floats up to your eyes and triggers your lachrymal gland–making your eyes water.