The peacock is is known for being a very vibrant bird. The male peacock is known for their enormous tail feathers that fan out behind the peacock and can be nearly two meters in length. It is thought that the colorful display is used for both mating and for defensive measures. For mating it is used to attract females, and defensively they will fan out their tail feathers making themselves look much bigger. A peacock's diet is omnivorous and mostly feeds on insects, seeds, plants and flower heads. Though they have been found to also eat small mammals and reptiles. Peacocks commonly live to be about 20 years old, and often older in captivity.