UV-C light works by damaging the DNA and RNA of microorganisms. When pathogens such as bacteria, viruses, and fungi are exposed to UV-C light, the radiation disrupts their genetic material, preventing them from replicating and causing infections. This makes UV-C an effective method for disinfecting surfaces, air, and even water.