Photonic crystals are periodic optical nanostructures that affect the propagation of light. They contain regions of high and low dielectric constants arranged in a repeating pattern, allowing certain wavelengths of light to pass through while others are forbidden from propagating, known as a photonic band gap. Photonic crystals have applications in lasers, optical fibers, biosensing and more. They can be fabricated through methods like layer deposition, photolithography or drilling holes to achieve one, two or three-dimensional periodicity.