The preference for certain kinds of aerial insect as a food source seems to correlate with gregarious or colonial behavior versus territoriality. For birds that take advantage of swarming insects, which are by nature found in local concentrations, colonial breeding can be a successful strategy.