And for the first 3,500 years of human consumption, chocolate was only bitter. Theobroma cacao, the tree that produces the beans for chocolate, comes from the Amazonian basin in South America. More than 4,000 years ago, people in the Americas started domesticating the plant.