How does a quetzal adapt to its habitat?

they adapt to their environment by eating fruits and staying high in the trees.