Back to your high school Chemistry lessons , you will recall how water was split into hydrogen (H) and oxygen (O) through a process called electrolysis.
You also learned that you can burn hydrogen in the air to produce heat (energy) while producing water.