 When sperm whales socialize , they emit complex patterns of clicks called codas . They will spend much of the time rubbing against each other . Tracking of diving whales suggests that groups engage in herding of prey , similar to bait balls created by other species , though the research needs to be confirmed by tracking the prey . 
