How does photosynthesis work?

My main gap of understanding is (I assume):

I know a photon changes the velocity of an electron. But I do not (fully) understand how a photon creates chemical reactions. Does the atom lose its electron due to this velocity increase and thereby attracting the electrons from the other atoms?

Is that all? Does this imply there is always an electron lost in photosynthesis or is that electron absorbed elsewhere (in another atom)?

A better way of thinking about it, without getting too bogged down in details, is that the plant absorbs the energy of photons and uses it to drive chemical processes - ultimately the synthesis of sugar out of carbon dioxide and water - that are energetically "uphill", and would not happen spontaneously without the energy from the photons. The energy from the photons is used by the plant to move electrons from one place to another, but no electrons are actually generated or consumed in the process ... photosynthesis is a cycle, so you always end up back where you started, with some molecules of $\ce{CO2}$ and $\ce{H2O}$ having been consumed (along with a lot of light energy), and some extra molecules of sugar and $\ce{O2}$ having been produced.