When oxalic acid is heated, it decomposes through decarboxylation to form formic acid (HCOOH) and carbon dioxide. This is a well-known thermal decomposition reaction. Acetic acid, sulfuric acid, and ethanoic acid (another name for acetic acid) are not products of this reaction.