The alkaline environment created by the baking soda helps break down the pectin in the beans, softening the beans' skins so well that they disintegrate during cooking and are easily rinsed away.