Drug testing can help a doctor detect potential substance abuse problems. A drug test examines one or more illegal or pharmaceutical drugs in your urine, blood, saliva, hair, or sweat. Urine testing is the most typical kind of drug screening. It is a technical analysis of a biological specimen.