Why does light have oscillating electric and magnetic fields? I read in a book that according to The Theory Of Electromagnetic Waves, accelerated charged particles produce oscilating electric and magnetic fields, but how does light produce oscillating fields as it is neutral and massless? I am a high school student so please explain accordingly.
 A: You are right when you say that accelerating particles produce, or radiate, electromagnetic waves. Light does not produce "oscillating fields", but rather it is itself an "oscillating field". 
Light is composed by elementary particles called photons that can be interpreted as quanta (of perturbation) of the electromagnetic field. 
You are also right when you say that light or rather the photon is massless, but it carries momentum. 
A: Light does not produce these fields. Light is the oscillation in these fields (or, more accurately, the unified electromagnetic field). While this is a fair bit more advanced than high-school physics, one of the basic ideas behind quantum-field mechanics is that an excitation (read: wave) in a field can be considered as a particle or pseudo-particle. The particle associated with electromagnetic field is the photon, ie. a particle of light.
A: I think you may be looking at this from the wrong perspective.
Light doesn't exist as some fundamental entity and we have discovered that it produces oscillating fields.
Instead, there exists oscillating electromagnetic fields, and we call that phenomenon light.
Light doesn't create those oscillating field, it IS those oscillating fields.
