Referred to Heterocyclic compounds containing Nitrogen, which has the formula (i), a Salt thereof, an n-oxide thereof, and a Fungicide containing as the active ingredient at least one selected from these compounds. In the formula (i), R represents a cr1r2r3 or cyano Group.R1 - R3 independently represent a hydrogen Atom, alkyl C1 - 8 without replacing or replaced without replacing or hydroxyl substituted. R4 or R5 represents halogeno. Y or z represents a carbon Atom, and beneceno or d represents. X represents an oxygen Atom or nitrogen, etc.REFERIDO A COMPUESTOS HETEROCICLICOS QUE CONTIENE NITROGENO QUE PRESENTA LA FORMULA (I), UNA SAL DEL MISMO Y UN N-OXIDO DEL MISMO, Y UN FUNGICIDA QUE CONTIENE COMO PRINCIPIO ACTIVO AL MENOS UNO SELECCIONADO DE DICHOS COMPUESTOS. EN LA FORMULA (I), R REPRESENTA UN GRUPO CR1R2R3 O CIANO. R1-R3 REPRESENTAN, INDEPENDIENTEMENTE ENTRE SI UN ATOMO DE HIDROGENO, ALQUILO C1-8 SIN SUSTITUIR O SUSTITUIDO, HIDROXILO SIN SUSTITUIR O SUSTITUIDO. R4 O R5 REPRESENTA HALOGENO. Y O Z REPRESENTA UN ATOMO DE CARBONO, Y A O D REPRESENTA BENECENO. X REPRESENTA UN ATOMO DE OXIGENO, DE NITROGENO O ETC