Two compounds can make chocolate smell musty and moldy

Chocolate is a beloved treat, but sometimes the cocoa beans that go into bars and other sweets have unpleasant flavors or scents, making the final products taste bad. Surprisingly, only a few compounds associated with these stinky odors are known.