they are transferred from protein in the midbrain of either the thylakoid membrane or the mitochondrion. their energy is used to pump hydrogen protons out of the inner membrane space.
in the end, the electrons are added to the hydrogen protons and oxygen to create water molecules