Final answer:
Carboxylic acids react with alcohols to form esters and with amines to form amides.An anhydride, when reacted with an alcohol, forms an ester and a carboxylic acid; when reacted with an amine, it forms an amide.
Step-by-step explanation:
Carboxylic acids can react with alcohols and amines to form derivatives such as esters and amides. When carboxylic acids react with alcohols, the -OH group of the acid is replaced by the -OR' group of the alcohol, resulting in the formation of an ester. On the other hand, when carboxylic acids react with amines, the -OH group of the acid is replaced by the -NH₂, -NHR', or -NR'2 group of the amine, forming an amide.<