How are cocoa beans harvested?

They are cut down from the trees, then cracked open to reveal the beans inside which are laid out in the sun and partially dried (they turn partially purple) , then are shipped to the chocolate makers to officially dry and ground.