what is the difference between boiling and electrolysis of water?
Electrolysis of water is a chemical change, because water is converted into hydrogen and oxygen: 2H2O(l) → 2H2(g) + O2(g), whereas boiling of water simply changes H2O molecules from liquid to gas. There is no new product created; atoms are not rearranged.