The result of the process is water and electricity. All the "machine" is entirely a natural process with the help of living microorganisms.
Other possibility is the use of bacteria for generate other type of elements like... Hydrogen.

More information about energy in this file.