Drug testing is the analysis of body fluids to determine whether a person is using illegal drugs. Such tests are widely used in the workplace, in the military, and in criminal justice and drug treatment programs. Some athletic associations and schools also use drug tests.