Final answer:
Electromagnetic waves are produced by the acceleration of oscillating charges, such as in an alternating current, and the frequency of these waves is directly related to the frequency of the oscillation of the charge.
Step-by-step explanation:
Electromagnetic waves are produced by oscillating charges, such as those in an alternating current or in an oscillating dipole antenna. These oscillating charges create varying electric fields, which in turn generate varying magnetic fields. As an electric charge oscillates, it accelerates and decelerates, causing the emission of electromagnetic radiation at frequencies that match the frequency of the oscillation. Electromagnetic waves have both electric and magnetic components that are perpendicular to each other and typically form a transverse wave.
The frequency of the electromagnetic waves produced is directly related to the frequency of the oscillating charge. For instance, if an AC generator oscillates at a particular frequency, the resulting electromagnetic waves radiated by a wire connected to the generator will have that same frequency. Consequently, the characteristics of the oscillating charge directly impact the nature of the electromagnetic waves emitted.