Cocoa beans are first harvested, fermented, and dried in the field. They are then transported to a factory where they are roasted, shelled, and ground into a cocoa liquor. The cocoa liquor is blended, tempered, and molded into different chocolate shapes before being packaged and distributed.