The Chemical Oxygen Demand (COD) is a measure of water and wastewater quality. The COD test is often used to monitor water treatment plant efficiency. This test is based on the fact that a strong oxidizing agent, under acidic conditions, can fully oxidize almost any organic compound to carbon dioxide. The COD is the amount of oxygen consumed to chemically oxidize organic water contaminants to inorganic end products.