wht gets energized at the beginning of photosynthesis

I believe electrons in the Chloroplasts pigments are energized to create atp