A solid chocolate bar contains some or all of the following components:cocoa solids,cocoa butter,sugar, andmilk. The relative presence or absence of these define the subclasses of chocolate bar made ofdark chocolate,milk chocolate, andwhite chocolate.