Suppose that we lived in the time before radio and television. An earthquake occurs off the coast of Oregon every 300 or so years caused by the motion of the Juan de Fuca plate:
Question: How would we know the earthquake occurred?
In this scenario the ocean was disturbed by the earthquake. The disturbance created a wave which moved from the point of the disturbance to us. The wave carried the information that an earthquake occured.
The strength of the electrical attraction is
Now, grab charge Q and jiggle it around. The jiggling causes the distance (and therefore attraction) between the two charges to vary, i.e.,
But, just as in the earthquake scenario, we can ask, How does the charge q know that I am jiggling charge Q?
Stated in a different (and leading) way, how does charge q know that I am altering the electrical attraction (field)? What happens is that by moving charge Q around, I generate a disturbance which launches a wave (an electromagnetic wave) into the Universe. The wave tells the Universe I generated an electrical disturbance. This disturbance is referred to as electromagnetic radiation.
The faster I jiggle the charge around the shorter the wavelength of the wave, that is, the shorter the distance between the crests of the ripples. We arbitarily define the different types of electromagnetic radiation by their wavelengths. In order of increasing wavelength:
Comment--Our discussion (so far) has been on an operational level; it defined electromagnetic radiation by the way it traveled. The true nature of electromagnetic radiation is a subtle and rich topic.