单项选择题

According to the passage the primary function of allelomimetic behavior in bird is to ______.

A.defend nests against predators
B.look at each other
C.locate prey
D.warn against predators