For a recent study, scientists isolated 11 strains of bacteria from wine, including one called Lactobacillus, the same kind that's found in yogurt. These bacteria, found in many fermented foods, are called "probiotics," and may help good bacteria flourish while blocking the overproduction of bad bacteria.
Of course, adding a couple glasses of wine to your diet likely won't make a big difference: Many of wine's helpful bacteria get wiped out during the sulfation process, when preservatives are added to the drink.