Emotion
Because two large groups of vertebrates have developed emotions (mammals and birds at least), it must be that emotions are helpful in group behaviour. In a quite different group, social insects, the group behaviour is controlled by pheromones: inherited scent patterns. Scent is also important to most mammals, but birds are more sight-oriented.