“…For many social animals, socialization itself is a reward, and experiencing social contact with conspecifics is often critical to functional behaviors as an adult ( Nardou et al, 2019 ; Wang et al, 2022 ). In contrast, some animals would rather avoid or even eat same-sex conspecifics, as they represent competitors for food and mates ( Vijendravarma, 2023 ). Sophisticated behaviors can also emerge from individuals operating on relatively simple nearest-neighbor algorithms without an inherent social structure ( Bialek et al, 2012 ; Ding et al, 2019 ): at high density, locust swarms start migrating due to each individual avoiding being eaten by a conspecific ( Guttal et al, 2012 ), and some fireflies synchronize their pulses with the flashes from another ( Sarfati et al, 2023 ).…”