the hydroxy and carboxylic groups being bound to aromatic rings