Raw cocoa beans have astringent and unpleasant flavor and hence after the pod breaking process, the beans are wrapped in plantain leaves for 4-6 days to ferment. Fermentation is done the same day the pods are broken.
The process is to develop cocoa by-products (chocolate) precursors in the bean.