The present invention relates to nitro-containing heterocyclic or ring-opening nitrogenous compounds of formula (A), wherein R1, R2, R3, R4, R5, Y, Z, and W are as defined in the specification. The present invention discloses the preparation and the uses of a novel insecticide. Said compound and the derivatives thereof have high insecticidal activity to farm insects including homoptera and lepidoptera pests, such as aphis, fulgorides, aleyrodids, leafhopper, commom thrips, cotton bollworm, cabbage caterpillar, cabbage moth, cotton leafworm, armyworn and so on.