BOD measures the amount of dissolved oxygen needed by aerobic biological organisms to break down organic material in water, while COD measures the amount of oxygen required to chemically oxidize organic compounds. COD is generally higher than BOD because it measures oxidation of all organic compounds, whereas BOD only measures biologically degradable compounds. Both are used to assess water quality, but COD provides a faster and more accurate measurement than BOD. The ratio of COD to BOD can also indicate the toxicity of wastewater.