In organic chemistry,  thioesters are organosulfur compounds with the molecular structure . They are analogous to carboxylate esters () with the sulfur in the thioester replacing oxygen in the carboxylate ester, as implied by the thio- prefix. They are the product of esterification of a carboxylic acid () with a thiol (). In biochemistry, the best-known thioesters are derivatives of coenzyme A, e.g., acetyl-CoA. The R and R' represent organyl groups, or H in the case of R.