The invention relates to ether compounds with nitrogen-containing 5-member heterocycle, represented by formula (I):The groups are as defined as specification.The compounds of the present invention have broad-spectrum insecticidal activities, and they are very effective to lepidopterous pests, including Ostrinia nubilalis, sugarcane borer, summer fruit tortrix moth, Grapholitha inopinata, Lymantria dispar, Cnaphalocrocis medialis, Pyrausta nubilalis, Heliothis assulta, Grapholitha molesta, Plutella xylostella, Laphygma exigua, Prodenialitura and the like, especially more effective to Plutella xylostella and Laphygma exigua, and can have very good effects at very low doses. And the compounds of present invention have high activities to homopteran pests such as aphid. At the same time, some compounds of present invention have very good fungicidal activities, and can be used for preventing wheat powdery mildew, cucumber downy mildew, vegetable grey mould and the like.