When you boil eggs, hydrogen sulphide – a toxic gas is released in the whites of the egg. This happens especially when you overboil the eggs. If you have noticed, overcooked eggs have a green coating on their yolk, which is a signal that you should not eat them.