The vinegar helps brighten up the flavors of the soup and breaks down some of the indigestible sugars in the beans making them easier to digest.