How are cocoa beans used for?

Cocoa beans are used to make chocolate first you crack it open then you grind the insides until its liquid chocolate!