Both formaldehyde and formic acid give positive tests with Tollens' and Fehling's reagents. However, formic acid, being an acid, will react with sodium carbonate to produce carbon dioxide effervescence, while formaldehyde will not.