Answer : A - carboxyl group.
The carbon in the carboxyl group is bonded to a hydroxyl group and also it is double bonded to an oxygen group.
The carboxyl group when it is dissolved in a solution donates it's hydrogen ion(H+ ion). When it is dissolved in water, the carboxyl group loses its H+ ion to form negatively charged ion.
RCOOH + H2O⇄RCOO- + H3O+
Thus the carboxyl group act as an acid when dissolved in water.