Question: why are cocoa beans roasted?
Answer: Roasting accomplishing a number of things. It helps separate the outer husk from the inner bean and makes cracking and winnowing much easier. It also virtually sterilizes the cocoa bean. This is rather important as the conditions in which cocoa beans are fermented are naturally full of bacteria, fungi and molds.