Formic acid is the simplest carboxylic acid. Its chemical formula is HCOOH or HCO2H. It is an important intermediate in chemical synthesis and occurs naturally, most notably in the venom of bee and ant stings.