A photon is different from an electron. At least by the fact that it is neutral. But, flying into the silicon lattice, it knocks out an electron and takes its place. That is, it becomes an electron.
How does such a magical transformation happen?
I may be wrong, but I think that a photon becomes...