There are hundreds of chemicals released by decomposition, with the smelly ones being mostly volatile oils. The sheer number and variety of chemicals is why it’s difficult to give an absolute answer in forensics to whether or not there has been a corpse present, as was seen most recently in the Caylee Anthony case. So it’s no one thing which produces the smell, but a vast number and variety of things.