An electromagnetic wave transfers energy through a field and forms when atomic particles become electrically charged. EM waves come in a spectrum and most that reach Earth come from the Sun. They travel at 186,000 miles per second in a vacuum, also known as the speed of light. Gamma rays are most harmful but can treat diseases while transparent materials allow light to pass through and opaque materials block it.