How does the cocoa bean turn to chocolate?

its not turned into chocolate. its made into chocolate with a bunch of other high-calorie stuff you don't even want to know about. do you still want to eat it? its also made from zombie earwax. (not. but it is high-calorie.)