Bacteria that normally develop in raw milk produce more or less of lactic acid.In the acidity test the acid is neutralised with 0.1 N Sodium hydroxide and the amount of alkaline is measured.From this, the percentage of lactic acid can be calculated.