Carboxylic acids contain [ ]; esters contain [ ].
Carboxylic acids contain -COOH; esters contain -COO-.