cocoa bean is a seed that comes from a cocoa pod which is a fruit.. "Cocoa beans are the seeds found in cocoa pods, which grow on trees often found in Africa, and Central and South America. These beans are fermented, dried, crushed, processed and manufactured into chocolate. Chocolate production begins with the harvesting of the pods of the cacao tree (Theobroma cacao). The Latin binomial means "food of the gods." The cacao tree is a small evergreen and its pods, when ripe, may be colored yellow, orange or red and shaped like a football. Each pod contains 20-50 seeds (cocoa beans)."
It's a fruit. But the seeds (cocoa beans) were not the initial appeal, it was the pulp of the pods that early man found so delicious. I would love to try it! The processing (conching) of the fermented beans into what we know of as chocolate is a fairly modern innovation.