IRS works by reducing the population of vectors within a community. When vectors, such as mosquitoes, rest on the treated surfaces, they absorb the insecticide, which can either kill them immediately or reduce their lifespan significantly. This decreases the likelihood of disease transmission as fewer vectors survive long enough to transmit the pathogen to humans.