Peacocks are omnivorous birds that feed primarily on plants and insects. In their natural habitats, they may face competition for food from other bird species such as pheasants, junglefowl, and mynas, as well as animals like monkeys, squirrels, and wild boars.