The chemistry of carboxylic acids and esters