Ancients believed chocolate was the food of the gods. Aztec and Mayan kings drank cups of warm chocolate on a regular basis, and the magical cacao bean, so valued in pre-Columbian America, was used as a form of currency.
Rather than walk around with coins in their pockets, or loincloths, or whatever, folks would swap cacao beans for goods and services.