when lactococcus lactis is added to milk, the bacterium uses enzymes to produce energy (atp) from lactose. the byproduct of atp production is lactic acid. the lactic acid curdles the milk that then separates to form curds, which are used to produce cheese and whey.