Animals have genes for altruism, and those genes have been selected in the evolution of many creatures because of the advantage they confer for the continuing survival of the species.
Lewis Thomas (1984). “Late Night Thoughts on Listening to Mahler's Ninth Symphony”, Bantam