text: Thiolactones are a class of heterocyclic compounds in organic chemistry.  They are analogs of the more common lactones in which an oxygen atom is replaced with a sulfur atom.  The sulfur atom is within the ring system and adjacent to a carbonyl group.