Given scientific fact as input, generate the question from this fact such that it can be answered from the input.

Light is produced accelerate charged particles do what, frequently in the form of oscillating.
Light is produced when charged particles do what, frequently in the form of oscillating?