What is the name of a compound containing a -COOH (carboxyl: carbonyl + hydroxyl) group? In a condensed structural formula, a carboxyl group may also be written -CO₂H.
1) ester
2) ether
3) aldehyde
4) carboxylic acid