Cocoa butter is removed from the cacao beans and can be used to make chocolate , pharmaceuticals , ointments , and toiletries . Cocoa butter has a mild chocolate flavor and smell . Cocoa butter is obtained from either whole cacao beans or chocolate liquor ( also known as cocoa liquor ) .