Are you suggesting that light that does not come from the sun would not allow plants to photosynthesis? Have you studied plants and photosynthesis? Have you ever seen an indoor plant?Plant's do not need light, because light has little to no mass which means to plants it would be useless for photosynthesis, they need the energy sent from the sun to create photosynthesis
The mass of individual photons has nothing to do with photosynthesis, it is the energy from the light. And plants that photosynthesis can do so using any light source, not just the sun. And they absolutely do need light to do so.