It attracts mosquitoes using light and then electrocutes them. These lamps can be effective at reducing mosquito populations in a given area. However, some studies suggest that they might not be effective at preventing mosquito bites. Additionally, some electric mosquito repellents can release harmful chemicals.