The following reaction produces a compound that contains which type of functional group?
1) amine
2) carboxylic acid
3) ester
4) amide
5) nitrile