The Yamaguchi esterification converts a carboxylic acid to an ester. First, triethylamine (Et3N) deprotonates the carboxylic acid, which then attacks the Yamaguchi reagent (2,4,6-trichlorobenzoyl chloride) to produce an acid anhydride. The Yamaguchi reagent is released when the acid anhydride is attacked by 4-dimethylaminopyridine (DMAP). The alcohol displaces DMAP and a final deprotonation yields the ester.