What element is responsible for the odor of rotten eggs?
814387
The element is sulfur.   The compound is H2S, hydrogen sulfide
833616
butanal - acrid odor\nheptanal - seen this as citrus and also as dry fish. go figure!\noctanal - seen this as citrus and also rancid.\nnonanal - plums\n\nI think that some of the aldehydes odour could be subjective and vary from person to person and perhaps with time, or they may be a multitude of receptors that react differently.\n\nKetones. yes.  Go and ask your wife, girlfriend or mother for the nail polish remover.  That is usually acetone.  Most of the ketones will have that odour, some milder.
380896
smells like rotten eggs
1142708
Pus stinks because it is filled with dead bacteria. The dead bacteria give off gas as they decompose.
460480
Asparagus contains a sulfur compound called mercaptan. (It's also found in rotten eggs, onions, garlic, and in the secretions of skunks.) When your digestive tract breaks down this substance, by-products are released that cause the funny scent. The process is so quick that your urine can develop the distinctive smell within 15 to 30 minutes of eating asparagus.
1078582
According to the U.S. Bureau of Chemistry and Soils, your body is:\n\n 65% Oxygen (worthless - meaning that you're mostly hot air!)  \n18% Carbon (worthless)  \n10% Hydrogen (worthless)  \n3% Nitrogen (good for plant food)  \n1.5% Calcium (worthless)  \n1% Phosphorous (good fertilizer)  \n0.35% Potassium (worthless)  \n0.25% Sulfur (can be used to make that rotten egg smell)  \n0.15% Sodium (salt)  \n0.15% Chlorine (not enough for the backyard pool)  \n0.05% Magnesium (of slight value)  \n0.0004% Iron (I guess we can rust)  \n0.00004% Iodine (sell this to the medical industry)  \nPlus minute quantities of fluorine, silicon, manganese, zinc, copper, aluminum, and arsenic(!). No gold, silver, or platinum deposits.  \n\nValue of all this great stuff - less than $1.00.\n\nCarbon and Hydrogen are the primary compones of organic life, They bind to form organic materails which become life forms.
405675
The distinctive odor of feces is due to bacterial action. Bacteria produce compounds such as indole, skatole, and thiols (sulfur containing compounds), as well as the inorganic gas hydrogen sulfide. These are the same compounds that are responsible for the odor of flatulence. Consumption of foods with spices may result in the spices being undigested and adding to the odor of feces. Certain commercial products exist that can reduce the odor of feces.
380114
The previous answers were close... bad fish smells are amines, which are weak bases.  Citrus fruits contain citric acid, which is a weak acid, it neutralizes these foul smelling bases.
543308
Reacting a Sulphurous Compounds with a Carbonate generally does the trick.\n\nI hope you like eggy smells!\n\nTom Walvin\nChemist
1083430
I've never heard of KMnO4 being used for this purpose, but any alkali like bicarbonate of soda or caustic soda will eliminate odours in a fridge or a smelly house.   You just leave the solid powder in a container.   Many odours are caused by organic acids like butyric acid.   You can smell them because they're volatile.   They react with alkalis to form salts, in this example sodium butyrate, which is a non-volatile solid, so you can't smell it.
504177
A thermometer---A rectal thermometer.\n\n***EDIT***\n\nThough that was the worst thing in terms of eewww, gross, the nastiest thing to me at the time was a Rotten Egg flavored Bertie Botts Every Flavor Bean.  OMG.  OH MY GOD.  Get some before your next party and have a tasting contest with all the different flavors.  I could eat them ALL except for that Rotten Egg.
646172
Poop stinks as a result of the products of bacterial action. Bacteria produce smelly, sulfur-rich organic compounds such as indole, skatole, and mercaptans, and the inorganic gas hydrogen sulfide. These are the same compounds that give farts their odor.
481934
Most of the odour comes from molecules released by bacteria in the gut.  Some are facultative; they can live with or without oxygen.  Some of these release hydrogen disulfide (rotten egg gas.)\n\nOthers are anaerobes; they live only in the absence of oxygen.  Many of these release fatty acids and amines from the larger molecules they digest for food; fats, proteins, nucleic acid, etc.  Some fatty acids are very pungent; some smell like butter, or strong cheese, or dog faeces etc.\n\nThe anaerobes are even pungent if cultured in our laboratory!  When we are culturing from some samples, the stinky ones generally contain anaerobes.  A good sense of smell is very handy in Clinical Microbiology.\n\nYears ago, I read research (that was done in inbred mice strains) showing that the genes of the animal had an influence on the types of bacteria that remained in its gut.  They said this was part of the reason why different strains of mice could recognise close relatives by smell; genes resulted in smells.\n\nI think this explains why different people make different odours, though fed the same foods.
103283
If you want more smelling farts, you have to include in your diet food containing amounts of Hydrogen Sulfide and Sulfur.  The more rich in Sulfur your diet is, more of those gases are going to be produced by the bacteria in the intestine, and  more smelly they will be your farts.\n\nFoods like onion, and eggs, are remarkable to produce stinking farts. On the other hand, for example, beans, produces great amounts of farts, although not necessarily smelly. Sorry aboyt my english... Enjoy your farts!
1009996
Many supplements cause that to occur, don't worry about it.   I think it's the food coloring in it.  I bet it has a strange smell to it also.
983498
the sounds one makes when they smell something bad like egg farts or b.o.
437289
The average human releases 0.5 to 1.5 litres (1 to 3 U.S. pints) of flatus a day by flatulating 12 to 25 times[1][2][3]. The primary constituents of flatulence are the non-odorous gases nitrogen (ingested), carbon dioxide (produced by aerobic microbes or ingested), and hydrogen (produced by some microbes and consumed by others), as well as lesser amounts of oxygen (ingested) and methane (produced by anaerobic microbes)[4]. Odors result from trace amounts of other components (often sulphur containing, see below).\n\nNitrogen is the primary gas released. Methane and hydrogen, lesser components, are flammable, and so flatulence is susceptible to catching fire. Not all humans produce flatus that contains methane. For example, in one study of the feces of nine adults, only five of the samples contained bacteria capable of producing methane[5]. Similar results are found in samples of gas obtained from within the rectum. The gas released during a flatus event frequently has a foul odor which mainly results from low molecular weight fatty acids such as butyric acid (rancid butter smell) and reduced sulfur compounds such as hydrogen sulfide (rotten egg smell) and carbonyl sulfide that are the result of protein breakdown. The incidence of odoriferous compounds in flatus increases from herbivores, such as cattle, to omnivores to carnivorous species, such as cats. Flatulence odor can also occur when there is a number of bacteria and/or feces in the anus while being expelled.