$$5HCHO + 2KMnO_4 + 3H_2SO_4 → 5HCOOK + 2MnSO_4 + 8H_2O + 2CO_2$$
In this reaction, formaldehyde is oxidized from a +1 oxidation state to a +2 oxidation state in potassium formate. Potassium permanganate is reduced from a +7 oxidation state to a +2 oxidation state in manganese sulfate. The reaction is typically carried out in acidic conditions using sulfuric acid as a catalyst.