Ellerman bombs or moustache are known as short-living fine emission structures associated with a local energy release in solar atmosphere. The relation between the moustaches and flare has been discussed since the moment of the moustaches discovery. The resent results of the Flare Genesis Experiment demonstrated that this problem is still actual and attractive. We took into account the possibility of different mechanisms of their origin (thermal and non-thermal) by using spectro polarimetric data obtained in summer 1999 and carried out analysis of Ellerman bomb's role in flare activity of the Sun by the example of the several active regions.