Reactivity
The reactivity map of a carboxylic acid is defined, in the first place, by the high acidity of its OH group and, in the second, by the electrophilicity of its carbonyl carbon.
▶ Watch the video on YouTube
The relative acidity of the hydrogens α to a carbonyl group is completely masked in carboxylic acids by the much higher acidity of the OH group.
The high acidity of the carboxyl group strongly interferes with any reaction carried out in basic medium. The base is instantly neutralized by the carboxyl group and the reaction won't proceed. Therefore, the nucleophilic attack on the carbonyl carbon of a carboxylic acid can only be performed in acidic medium.
The mechanism of nucleophilic attack on a carboxylic acid or an acid derivative is known as addition-elimination because it consists of (at least) these two steps. Addition takes place first and elimination follows.
General addition-elimination mechanism
The nucleophilic attack on a carboxylic acid is performed in mineral or Lewis acidic medium, in order to avoid interference from the acidity of the OH group and also to increase the electrophilicity of the carbonyl carbon. In fact, a carboxylic acid partially protonates in acidic medium thus decreasing the electron density at the C=O carbon.
The oxygen of the C=O group is a weak base that can react with the mineral or Lewis acid. The equilibrium is shifted to the left but the few molecules that react with the external acid are much more reactive towards a nucleophile because their electron deficiency is greatly increased. Look at the resonance forms!
At this favorable stage of increased electrophilicity, the protonated nucleophile - we are in acidic medium! - adds to the C=O group.
Note that in the addition step the initially sp2-hybridized C=O carbon (trigonal planar) changes to sp3 hybridization (tetrahedral).
In the addition step an incipient water molecule is formed, which is an excellent leaving group, leading to the carboxylic acid derivative where its initial OH has been formally replaced by the nucleophile.
In the elimination step the reacting carbon returns to its initial sp2 hybridization. The used proton or Lewis acid is recovered and thus the needed amount of acid for this reaction is just a catalytic one.



