Answer:
The correct answer would be "in both the cases the light or radiant energy is converted into the chemical energy".
In lightning fixation such as nitrogen fixation, light energy is used to break the bonds of the nitrogen gas. Nitrogen molecules then combine with oxygen to form nitrogen oxide which is converted into nitrate after dissolving in rain. Thus, the light energy of lighting is converted into chemical energy (nitrogen products).
Similarly, in photosynthesis, the solar or light energy is converted into the chemical energy (in the form of food or glucose).