A sulfur-containing organic compound having the general formula RSH, where R is another element or radical. Thiols are typically very volatile and strong-smelling, and are responsible for the odor of onions, garlic, rotting flesh, and skunk musk. Also called mercaptan.