When dried cacao beans are sent to the processing plant, they are first cleaned to get rid of any debris. The beans are roasted to darken the color and enhance flavor. The beans can be roasted for different amounts of time and at different temperatures, depending on the size and the flavor that is aimed for. Winnowing is the process of removing the shell from the bean, leaving just the cacao nib.
The nibs are ground into a paste called cacao liquor. This can be used to make chocolate bars, and it can also be used for separating fat from the solid, leaving cocoa presscake. Cocoa butter is used in chocolate and beauty products.