Cocoa beans are grown on trees and are in a pod. The pods have small seeds in called to cocoa beans. The cocoa beans need to be kept in a high temperature and plenty of water.
They clean and bake the cocoa beans to allow the flavours to come out
Then use a winnowing machine to remove the shell and leave you with the nibs.
The nibs are milled to make cocoa liquor and usually the manufacturers deal with more than 1 type of beans so they blend the together to make the right formula
The liquor is the pressed into the cocoa butter leaving a solid called a press make.