Cocoa beans are seeds found inside the fruit of the cocoa tree, making them seeds of a fruit.