Conversion of syngas into formic acid