How come a boiled egg stinkes?

A boiled egg doesn't actually stink, but it can develop a sulfur-like smell when it's overcooked. Here's why:

* Hydrogen sulfide: Eggs contain a compound called hydrogen sulfide, which is responsible for the smell of rotten eggs. When you boil an egg, the heat breaks down proteins, including those containing sulfur.

* Overcooking: The longer you boil an egg, the more hydrogen sulfide is released. This is why overcooked eggs have a stronger sulfur smell.

* The "green ring": If you see a green ring around the yolk of a hard-boiled egg, it's a sign of overcooking. The green color comes from a reaction between iron in the yolk and hydrogen sulfide.

How to prevent the smell:

* Don't overcook your eggs: Boil eggs for the appropriate time (around 6-8 minutes for hard-boiled) to avoid excessive hydrogen sulfide release.

* Keep your eggs cool: Store eggs in the refrigerator to slow down the chemical reactions that produce the smell.

So, it's not really that the boiled egg stinks, but the sulfur smell is a result of chemical changes that occur when eggs are overcooked.