Photonic crystals are materials that have a periodic structure on the nanometer scale, affecting the motion of photons in the same way that the periodicity of a semiconductor crystal affects electrons. They can create photonic band gaps, which means they can block certain wavelengths of light while allowing others to pass through. This property is used in a variety of applications, from creating more efficient LEDs to developing advanced optical fibers.