The present invention relates to a the heterocyclic or splitring nitrogenouscompounds of formula (A), where R1-R5, Y, Z and W are as defined in the specification.The present invention discloses the preparation and the uses of an insecticide.The said compounds and its derivatives have high insecticidal activity to severalfarm insects including homoptera and lepidoptera pests, such as aphis, fulgorids,aleyrodids, leafhopper, common thrips, cotton bollworm, cabbage caterpillar,cabbage moth, cotton leafworm, armyworm and so on.