In redox reactions, energy is released when an electron loses potential energy as a result of the transfer. Electrons have more potential energy when they are associated with less electronegative atoms (such as C or H), and less potential energy when they are associated with a more electronegative atom (such as O).
The further the light moves from the plant, the fewer oxygen bubbles are produced by photosynthesis. The intensity of light at different distances from a light source can be described by the inverse square law.