Some species are highly specialized (the most extreme case being monophagous, eating one specific type of food), others less so, and some can tolerate many different environments.
The raccoon is a generalist, because it has a natural range that includes most of North and Central America, and it is omnivorous, eating berries, insects such as butterflies, eggs, and various small animals.
[1][2] It is estimated that about half of native US bee species are pollen specialists, meaning they collect resources from specific genera.
When body weight is controlled for, specialist feeders such as insectivores and frugivores have larger home ranges than generalists like some folivores (leaf-eaters), whose food-source is less abundant; they need a bigger area for foraging.
[4] An example comes from the research of Tim Clutton-Brock, who found that the black-and-white colobus, a folivore generalist, needs a home range of only 15 ha.
On the other hand, the more specialized red colobus monkey has a home range of 70 ha, which it requires to find patchy shoots, flowers and fruit.