Chocolate also contains various "mind altering" substances, including an amphetamine-like compound (phenylethylamine) and a chemical that mimics some of the effects of the active ingredient in marijuana. In addition, eating chocolate causes heartburn or symptoms of esophageal reflux in some people.