By mixing two different wavelengths, crystals can produce UV light for photolithography and sterilization.