The main product of O2 photodissociation in Schumann - Runge continuum and in Ly α line and also O3 photolysis in Hartley band is the excited atom of oxygen O(1D). Electronic energy of this metastable level is redistributed at collisional and radiative processes in various channels. The suggested by us modern photochemical model of O2 and O3 photodissociation in the middle atmosphere includes in consideration transfer of electronic energy of atoms O(1D) to electronic-vibrationally excited molecules O2(b1Σ+g, v≤1) with the subsequent transfer of energy to the molecules O2(a1Δg, v≤3). Except for it, we took into account formation of the molecules O2(a1Δg, v≤5) in the ozone photolysis. The energy of O2(a1Δg, v≤5) is transferred to the molecules O2(a1Δg, v=0) and further to the O2(X3Σ-g, v). At all stages of energy transformation the radiative and collisional losses of energy are possible thus the part of energy thermalizes. The obtained results essentially differ from the previous model of energy transfer, in wh