Green cocoa pods - Fruits of the Cocoa tree - Sulawesi Island, Indonesia.
The cocoa tree is called Theobroma cacao. The Cocoa beans, used to make chocolate, are the seed of the cocoa fruit, which is called Cocoa pod.
For more info en.wikipedia.org/wiki/Theobroma_cacao