The eyes of some animals point in the same direction as do those of humans, but in other animals…

The eyes of some animals point in the same direction as do those of humans, but in other animals (such as birds) the eyes are positioned more laterally so they point in different directions. What would be the selective advantages of these different anatomical arrangements, and what kinds of animals would you expect to have one or the other?