Chocolate is a raw or processed food produced from the seed of the tropical Theobroma cacao tree. Cacao has been cultivated for at least three millennia in Mexico, Central and South America. Its earliest documented use is around 1100 BC. The majority of the Mesoamerican people made chocolate beverages, including the Aztecs, who made it into a beverage known as xocolātl, a Nahuatl word meaning "bitter water". The seeds of the cacao tree have an intense bitter taste, and must be fermented to develop the flavor.
After fermentation, the beans are dried, then cleaned, and then roasted, and the shell is removed to produce cacao nibs. The nibs are then ground to cocoa mass, pure chocolate in rough form. Because this cocoa mass usually is liquefied then molded with or without other ingredients, it is called chocolate liquor. The liquor also may be processed into two components: cocoa solids and cocoa butter. Unsweetened baking chocolate (bitter chocolate) contains primarily cocoa solids and cocoa butter in varying proportions. Much of the chocolate consumed today is in the form of sweet chocolate, combining cocoa solids, cocoa butter or other fat, and sugar. Milk chocolate is sweet chocolate that additionally contains milk powder or condensed milk. White chocolate contains cocoa butter, sugar, and milk but no cocoa solids.