The correct response is: Elephants use grouping for cooperation, and ants use grouping for protection of the young.
In ants, grouping often enhances their ability to protect their young and the colony as a whole, whereas elephants tend to form herds primarily for social cooperation and support, including caring for their young and finding resources.