While bugs are naturally attracted to light, hanging string lights in your backyard doesn't necessarily mean you'll have an influx of insects.   To minimize bug attraction, consider using LED lights with a lower color temperature, as they tend to attract fewer bugs than traditional incandescent bulbs.