They are used in dairy products such as yogurt and cheese
Cattle have bacteria in their rumen which allows them to digest grasses and other cellulose
They are used in medicine (growing antibiotics) which can be given to cattle
Dairy farmers sometimes collect and treat manure with bacteria to release methane which they use for heating their barns.