Drug tests are typically done using samples of urine, blood, hair, saliva, or sweat. The type of test used depends on the purpose of the test and the drug being screened for. Urine tests are the most common type of drug test and are used to detect recent drug use, while hair tests can detect drug use over a longer period of time. Blood and saliva tests are less common and are typically used for more specific drug testing, such as in legal or forensic cases. Sweat tests are a newer type of drug test that can detect drug use over a period of days to weeks. The tests work by detecting the presence of drug metabolites in the sample provided, which indicates that the drug has been consumed recently or in the past.