Cocaine is an alkaloid extracted from the coca (Erythroxylon Coca) plant. Contrary to common belief, it is not produced from the cacao plant that gives us chocolate (Theobroma Cacao).
Coca is a huge cash crop for Colombia, Peru, Bolivia and Equador. Cacao beans (usually called cocoa from a long-ago misspelling) come from Mexico and other countries, especially west Africa.
Chocolate is a food made from the seeds of the cacao tree. Ancient Mayans used chocolate in ceremonial drinks. Their drinking
vessels (dating back to 754 A.D.) have been found in Central America.
Cocaine is not a food, although ancients (like the Incas) chewed its leaves for thousands of years. People knew that whatever was in the coca leaves gave them more energy, but it didn’t make them "high."
Not until cocaine alkaloid was extracted from coca leaves (in 1859) and the hypodermic needle (invented in 1856) was widely used, did people get into serious trouble with cocaine.