During the process of photosynthesis, light penetrates the cell and through the chloroplast.
The light is then intercepted by chlorophyll molecules.
As this is happening some of the light energy is being turned into chemical energy but most of it is being turned into ATP when phosphate is added. Which causes that formation of ATP.
*ATP is a molecule which carries energy within a cell. It's the form of energy.