Typically, these lamps combine two types of lighting: normal/daytime and ultraviolet. They screw into standard sockets and attract insects with their light. When a mosquito flies close enough, it dies from an electric shock. Most lamps are designed so that dead insects do not fall inside cases, but fall out. Such devices are convenient because they are compact, and, if necessary, their location can be easily changed.