The conversion of milk into curd is a process called fermentation, primarily carried out by lactic acid bacteria (like Lactobacillus). These bacteria ferment the lactose (milk sugar) present in milk into lactic acid. The increase in lactic acid concentration causes the proteins in the milk (casein) to coagulate, resulting in the thickened texture of curd.