carboxylic acid biosynthetic process (5)