When water is split into hydrogen and oxygen what happens-

is it a change in matter