The invention uses a special type of ultraviolet bulb to generate a wavelength of 330 -400nm at the frequency range of 250 - 500Hz. Due to variable frequency and wavelength insects are attracted to this UV LED lamp (104) (surrounded by an electric fence) and they are electrocuted and collected in a collector bag(105). The Electric pest killer covers an area of around 2-4 acres of land. The Invention comprises of a C Channel Structure (101), FRP (102), UV LED bulb (104), SS Mesh (105), a control unit (106) and a collector bag (108). The invention can attract and electrocute around 1200 flying pests from an area of about 2-4 acres. A rain sensor is placed on the top of the FRP which cuts off the system in case of rains and starts automatically as soon as rain stops. The invention does not require chemicals and it maintains ecological balance in the environment.