What is the formula of the functional group in carboxylic acids?
−OH-\mathrm{OH}−OH
−CH3-\mathrm{CH}_3−CH3
−COOH-\mathrm{COOH}−COOH
−CO2-\mathrm{CO}_2−CO2