Methanethiol and dimethyl sulfide are thought to be the culprits for the smell; this was determined by giving people purified forms of either compound, which can induce the smell without eating asparagus.