The carboxyl group (-COOH) contains a carbon atom double-bonded to an oxygen atom and is also bonded to a hydroxyl group.
The electronegative oxygen atom can dissociate the hydrogen ion (H+), making the group acidic and polar.