UV-C light works by damaging the DNA or RNA of microorganisms, disrupting their ability to replicate and causing them to die or become inactive. When exposed to UV-C light, the genetic material of the microorganisms absorbs the energy, leading to structural damage and rendering them unable to function and reproduce.