The invention relates to a compound which is provided with formula (A) and contains N heterocycles or open loops, wherein, R1, R2, R3, R4, R5, Y, Z and W are respectively defined as in the specification. A preparation method of a new insecticide and the usage thereof are also disclosed by the invention. The compound and derivatives thereof have high insecticidal activity on agricultural and forestry pests of homoptera, Lepidoptera, and the like and aphids, plant hoppers, whiteflies, leafhoppers, thrips, cotton bollworms, cabbage caterpillars, diamondback moths, cotton leafworms, armyworms, etc.