Electricfield, Magnetic Field and Photon

We know that photon has no charge. Then where from it gets electric and magnetic field in light?
Malik Sajad asks
Electric and magnetic fields are not produced by the photon; it is massless too.
But, photon is created by time varying electric and magnetic fields, usually produced by accelerated charges.
As you might have already learnt, a charge […]