While mosquito traps are primarily designed to attract and capture mosquitoes, they may also attract other flying insects, depending on the specific trap and attractants used. However, many traps have features to minimize the attraction of beneficial insects.