The rumen acts as a big fermentation vat. Bacteria and protozoa in the rumen supply enzymes to break down the fiber in the goat's feed. This is similar to how bacteria can ferment the sugars in grape juice to make wine in big wine barrels.