How can water be produced by metabolism?