The detection window refers to the period during which a drug or its metabolites can be detected in a given biological specimen. Commonly tested specimens include blood, urine, hair, and saliva. Each of these matrices has different detection windows due to the way substances are processed and stored in the body.