When individuals of the same or related species gather in a particular location for social or ecological reasons.