How do they get the cocoa beans from the tree?

The pods are cut off the trunk, opened, and the beans are removed to be dried, roasted, and ground into chocolate.