Flexi Says: Light behaves both as a particle and as a wave. Michael Faraday discovered that light exhibited magnetic properties. James Maxwell demonstrated that the speed of light is constant and that light exists as a transverse wave. Hertz showed that light was an electromagnetic wave and only one type of electromagnetic radiation in a much larger electromagnetic spectrum. The color of light is related to its wavelength, which is the distance between two crests of a wave of light. The photoelectric effect occurs when sufficiently energetic electromagnetic radiation is shined on certain kinds of matter, causing electrons to be ejected. The photoelectric effect provides an example of light acting as a particle instead of a wave.