 In hydrocarbons and in the vapor phase, it consists of hydrogen-bonded dimers rather than individual molecules.Owing to its tendency to hydrogen-bond, gaseous formic acid does not obey the ideal gas law.Solid formic acid, which can exist in either of two polymorphs, consists of an effectively endless network of hydrogen-bonded formic acid molecules.