Forensic toxicology uses analytical chemistry, pharmacology, and clinical chemistry to aid in investigations of death, poisoning, and drug use. A toxicological analysis can be performed on various sample types to determine what toxic substances are present, in what concentrations, and their probable effects. Forensic toxicology can be separated into postmortem toxicology, human performance toxicology, and forensic drug testing. Different analytical techniques like immunoassays, gas chromatography-mass spectrometry, and liquid chromatography-mass spectrometry are used to detect drugs and metals in samples.