单项选择题

A.To defend its territories.
B.To attract the attention of other birds.
C.To warn other birds.
D.To pronounce that it has occupied the place.