Thousands of bugs are killed with insect zappers. Bug zappers function by generating a UV light that draws insects to the device s center, where they are typically electrocuted between two metal grids. Bug zappers are highly successful at killing bugs because of the allure of their light.