Bug zappers are generally safe to use. Many have multi-layered mesh grids to prevent accidental shocks and burns while still allowing insects to pass through. As for the ultraviolet light, the wattage is strong enough to attract bugs but typically not strong enough to be harmful to humans, especially when you keep roughly a foot or more of distance from the light.