They are directly related. The more different trees, the more different birds because not all birds like the same trees:
Some like higher trees to build higher nests, others like lower trees, some like the leaves of some trees useful, some live in the trees that give them fruits, other in trees where many insects go, etc.
Hope it helped!
A analogous structure are practically equivalent to structures are highlights of diverse species that are comparative in work but not fundamentally in structure and which don't determine from a common genealogical highlight (compare to homologous structures) and which advanced in reaction to a comparative natural challenge.