How are electromagnetic waves created?
Electric charges are the creators of EM fields. To create a EM wave, just wave an electron back and forth. That is how transmitters work. You take a sound, which are air waves, and use a circuit to use the wave to push electrons back and forth. Where are these electron? They are in the giant radio broadcast towers, of course, generating a massive oscillating EM wave corresponding to the sound. Thus we get radio wave. Now EM waves and light waves are the same thing; light is just at a higher frequency. Just oscillate the electrons very fast and generate a lot of heat. This gives some electrons in atoms enough energy to go to a higher energy level within the atom. The electron has absorbed some energy from all those oscillating electrons (which is what the AC current in your wall socket does by the way). When the electron goes to a lower energy level, it emits a high frequecy EM wave, called light. This is how a light bulb works! The frequency is determined by the difference between the