A diester is a type of organic compound that contains two ester functional groups. Esters are formed when an alcohol reacts with a carboxylic acid, and a diester is the result when this reaction occurs twice, creating a molecule with two ester groups. Diesters are important intermediates in the context of Intramolecular Claisen Condensations and the Dieckmann Cyclization.