N-(tetrazol-5-yl)- and N-(triazol-5-yl)arylcarboxamides of formula I and their use as herbicides, The invention relates to N-(tetrazol-5-yl)- and N-(triazol-5-yl)arylcarboxamides of formula I and their use as herbicides. In said formula I, B represents N or CH, whereas R, R1, R2, R3, R4 and R5 represent groups such as hydrogen, halogen or organic groups such as alkyl or phenyl.