Formation of Amides From Carboxylic Acids
Carboxylic acids react with ammonia or amines to give amides. The reaction involves the formation of an ammonium carboxylate salt as an intermediate which on heating gives amide.

Amides can also be obtained by the reaction of ammonia or amines with carboxylic acid halides, anhydrides and esters.