When butyric acid C3H7COOH reacts with ammonia NH3 under acidic conditions, an ammonium salt is formed. In this case, the product will be butyramide C3H7CONH4 . The reaction can be represented as follows:C3H7COOH + NH3 C3H7CONH4Under basic conditions, the reaction between butyric acid and ammonia will still form an amide, but the product will be different. In this case, the product will be butyramide C3H7CONH2 . The reaction can be represented as follows:C3H7COOH + NH3 C3H7CONH2 + H2OThe main difference between the reactions under acidic and basic conditions is the product formed. Under acidic conditions, an ammonium salt is formed, while under basic conditions, an amide is formed along with water.