The cannabinoids test is used to detect the presence of cannabinoids, such as THC, in a person’s body. It is typically ordered when a healthcare provider suspects that someone is using these drugs, or when drug use is a potential factor in a medical condition.