In environmental chemistry, the chemical oxygen demand (COD) test is commonly used to indirectly measure the amount of organic compounds (Algae) in water. Most applications of COD determine the amount of organic pollutants found in wastewater, making COD a useful measure of water quality. It is expressed in milligrams per liter (mg/L or PPM), which indicates the mass of oxygen consumed per liter of solution.