Answer the following question given this paragraph: 

Amides are prepared by the reaction of a carboxylic acid with ammonia or an amine.


Q: What kind of reaction is needed to prepare amides?


A:
carboxylic acid reaction