The lone pair of N‐atom in O‐ and p‐aminobenzoic acid is involved in resonance. The lone pair of N‐atom in transferred towards benzene ring. This decreases the acidic character of –NH2 group. Therefore these groups do not transfer and accept H+ ions, respectively.