While most New World barbet species inhabit lowland forest, some range into montane and temperate forests, as well. Most are restricted to habitats containing trees with dead wood, which are used for nesting. The diet of barbets is mixed, with fruit being the dominant part. Small prey items are also taken, especially when nesting. Barbets are capable of shifting their diet quickly in the face of changing food availability. Numerous species of fruiting trees and bushes are visited; an individual barbet may feed on as many as 60 different species in its range. They also visit plantations and take cultivated fruit and vegetables. Fruit is eaten whole, and indigestible material such as
seed pits is regurgitated later (often before
singing). Regurgitation does not usually happen in the nest (as happens with
toucans). Like their relatives, New World barbets are thought to be important agents in
seed dispersal in tropical forests. As well as taking fruit, they also take
arthropod prey,
gleaned from the branches and trunks of trees. A wide range of insects is taken, including ants, beetles, and moths. Scorpions and centipedes are also taken, and a few species take small vertebrates such as frogs. ==Relationship with people==