During isolation of fluorine, when KHF2 is electrolysed then, is produced at the cathode and at the anode as the final product.