Compounds of formula (I) ** Formula ** in which A1 and A2 independently represent each other represent hydrogen, halogen, cyano, nitro, C1-C6 alkyl, C3-C6 cycloalkyl or C1-C6 alkoxy, G1 represents N or C- A1 and G2 represents a remainder of the series in which the arrow marks the link to the adjacent ring, R1 in the case of heterocycles (A) and (D) represents hydrogen, halogen, cyano, C1-C6 alkyl, alkoxy C1-C6 or halo-C1-C6 alkyl, R1 in the case of heterocycle (C) represents hydrogen, C1-C6 alkyl or halo-C1-C6 alkyl, B represents hydrogen, halogen, cyano, nitro, C1-C6 alkyl, haloalkyl-C1-C6, alkoxy-C1-C6 or cycloalkyl-C3-C6, G3 represents 5-membered heteroaryl or 6-membered heteroaryl in each case where appropriate substituted with halogen, cyano, nitro, amino, C1-C6 alkylamino , dialkylamino-C1-C6, alkyl-C1-C6, cycloalkyl-C3-C6, haloalkyl-C1-C6, hydroxyl, C1-C6 alkoxy, haloalkoxy-C1-C6, alkylthio-C1-C6, alkylcarbonyl-C1-C6 , C1-C6 alkoxycarbonyl, alkenyl -C2-C6 or alkynyl-C2-C6, G4 represents a remainder of the seriesCompuestos de fórmula (I)**Fórmula** en la que A1 y A2 independientemente entre sí representan hidrógeno, halógeno, ciano, nitro, alquilo C1-C6, cicloalquilo C3- C6 o alcoxi C1-C6, G1 representa N o C-A1 y G2 representa un resto de la serie en la que la flecha marca el enlace al anillo adyacente, R1 en el caso de los heterociclos (A) y (D) representa hidrógeno, halógeno, ciano, alquilo-C1-C6, alcoxi-C1-C6 o haloalquilo-C1-C6, R1 en el caso del heterociclo (C) representa hidrógeno, alquilo-C1-C6 o haloalquilo-C1-C6, B representa hidrógeno, halógeno, ciano, nitro, alquilo-C1-C6, haloalquilo-C1-C6, alcoxi-C1-C6 o cicloalquilo-C3-C6, G3 representa heteroarilo de 5 miembros o heteroarilo de 6 miembros en cada caso dado el caso sustituidos con halógeno, ciano, nitro, amino, alquilamino-C1-C6, dialquilamino-C1-C6, alquilo-C1-C6, cicloalquilo-C3-C6, haloalquilo-C1-C6, hidroxilo, alcoxi-C1-C6, haloalcoxi-C1-C6, alquiltio-C1-C6, alquilcarbonilo-C1-C6, alcoxicarb