Woodpeckers eat nuts, berries, termites, grubs, and other bugs that live inside trees. It pecks through the wood of a tree to find the bugs living inside. That is why their beaks are so long... and strong!
Woodpeckers are insectivores and feed on hybernating insects in winter. Green woodpeckers in particular prefer an ant diet, but if the ant nests are made inaccessible by ice and snow, they will also attack bee hives.
Yes woodpeckers do live in the tropical rainforest. They are brown, black, white, and red. They peck through the trees in order to find worms or other bugs to eat. There are over 180 species of woodpecker in the world.