Cut into an onion and your eyes fill up within seconds. It feels personal, like the onion is fighting back. In a way, it is. The sting is a defense the plant built to keep pests and animals from eating it. When you slice it, you set off a tiny chemical reaction that the onion uses as a weapon. The good news is that once you know how the reaction works, you can shut most of it down. You do not have to cry through every dinner. A few small habits make a big difference.

Onions grow in soil that is rich in sulfur, and they store that sulfur inside their cells. They keep two things apart in the whole onion: a set of sulfur compounds and an enzyme that acts on them. As long as the onion sits there in one piece, the two never meet. The moment your knife breaks the cells, the wall between them is gone. The enzyme rushes in and starts changing the sulfur compounds fast. That reaction throws off a small cloud of gas that floats up off the cutting board. The gas is the real culprit, not the onion itself.

That gas has a long science name, but what it does is simple. It drifts up and reaches the wet surface of your eyes. There it mixes with the water in your tears and turns into a mild acid. Your eyes do not like that at all, so they sound the alarm. They flood with tears to wash the irritant away and protect the surface. That is why the more you cut, the worse it gets, since more gas keeps rising. Rubbing your eyes only spreads it around and makes the sting last longer.

Here is where you take back control, starting with two easy moves. First, chill the onion before you cut it, since cold slows the reaction way down. Twenty minutes in the fridge or a short spell in the freezer makes a real difference. A cold onion throws off far less of that gas into the air. Second, use a truly sharp knife instead of a dull one. A sharp blade slices clean through the cells, while a dull one crushes them. Crushed cells dump out more enzyme and more gas, so a dull knife makes you cry more.

A few more tricks handle the gas that still escapes. Cut near a running fan or an open vent so the cloud gets pushed away from your face. Some cooks slice next to a bit of running water, which pulls some of the gas down. Save the root end of the onion for last, because that base holds the most sulfur. When you cut the root first, you release the heaviest dose right at the start. If your eyes are very sensitive, a cheap pair of goggles seals them off completely. None of these need special gear, and you can mix and match them.

You have probably heard folk fixes like holding bread in your mouth or lighting a candle nearby. A candle or flame can actually help a little, since heat can break down some of the gas near it. Bread in the mouth does close to nothing, so skip that one. Wearing contact lenses gives some people a bit of cover, but it is not a real plan. Scientists pinned down the exact enzyme behind the tears back in the early two thousands. That work has led to onion types bred to give off far less of the gas. Those tearless onions are real, though they are not yet on every shelf.

One last thing helps you plan ahead at the store. Not every onion packs the same punch, since the sting depends on how much sulfur the onion holds. Yellow onions and other strong types tend to bite the most. Sweet onions and milder types give off less of the gas. Where and how an onion is grown also shifts its sulfur load. If a recipe lets you swap in a milder onion, your eyes will thank you. And if you only need a small amount, cut just what you need and chill the rest. A little planning at the counter saves you tears at the board.

So the whole thing comes down to a simple chain you can break. A cut releases an enzyme, the enzyme makes a gas, and the gas turns to acid on your eyes. Cool the onion, keep your knife sharp, move the air, and cut the root last. Do two or three of those and the tears mostly stop. You will chop faster because you are not squinting and blinking the whole time. Your food will not taste any different, since the flavor lives in other compounds. The onion built a clever little defense, but your kitchen has the better tools.