How are behaviors affected by natural selection