The term for the behavior in which animals form social groups and live and work together is known as "social behavior" or "sociality." Social behavior in animals allows them to cooperate, communicate, and interact with each other for tasks such as hunting, protection, and raising offspring.