In order to understand all behaviors, it is useful to take a look of how meaning and purpose might differ accross species. Meaning likely exists In behaviors beyond just survival.
Animal Behavior Environment Evolutionary Psychology Philosophy