(An oscillating charge is an example of accelerating charge )   This
produces an oscillating electric field in space, which produces an
oscillating magnetic field, which in turn, is a source of oscillating electric
field, and so on The oscillating electric and magnetic fields thus
regenerate each other, so to speak, as the wave propagates through the
space The frequency of the electromagnetic wave naturally equals the
frequency of oscillation of the charge