It is used to make solid chocolate bars , and mixed with cocoa powder to make solid pieces of chocolate . Cocoa butter is removed from the cacao beans and can be used to make chocolate , pharmaceuticals , ointments , and toiletries . Milk and sugar are added to make white chocolate , but most of it is used to produce milk chocolate , some of which contains more cocoa butter than chocolate liquor .