Chemical oxygen demand (COD) is the measurement of oxygen required to chemically oxidize organic substances in water. Therefore, COD evaluates water and wastewater quality. The COD test is carried out in the presence of a strong oxidant under acidic conditions.