The measurement of COD involves the use of a strong oxidizing agent, typically potassium dichromate, in an acidic solution. The sample is heated to ensure complete oxidation of the pollutants. The amount of oxygen consumed is then calculated based on the reduction of the oxidizing agent. This method provides a reliable estimate of the water's pollution level.