text: Aniline reacts with acyl chlorides or carboxylic anhydrides to give anilides.  For example, reaction of aniline with acetyl chloride provides acetanilide ().  At high temperatures, aniline and carboxylic acids react to give anilides.