Cocoa beans were used as a form of currency in ancient Mesoamerica. They were highly valued by the Aztecs for their medicinal and ceremonial uses, believing they were a gift from their god Quetzalcoatl.