A BOD test measures the oxygen consumed by bacteria as they metabolize organic matter over a given period of time and at a specified temperature. The test is often used in wastewater management as a water quality indicator.