If any substance producing H+ is acid, but in esterification reaction carboxylic acid is an acid but it breaks OH bond and releases hydroxyl ion so it should be base, why it is breaking OH bond instead of giving hydronium ion?