What tree are cocoa beans from?

The Cocoa Tree!
The fruits of the cocoa tree are oval-shaped pods, 8 to 14 inches long, ranging in colour from yellow or green to red or violet and containing the cocoa beans.
See www.cocoatree.org