Relations between heat and work and thermodynamic data of chemical reactions are given. They are derived with the theory of the thermodynamic of irreversible processes using a number of homogeneous regions. There are considered several sorts of entropy production and their effects on the efficiency. Hereby statements are possible on thermochemical cyclic processes, especially on the thermochemical cyclic process for the production of hydrogen and oxygen from water