Hummingbirds are found in the Americas, while sunbirds are found in Africa, Asia, and Australia. Both groups of birds feed on nectar from flowers, and they have evolved long beaks to reach into the flowers' long, narrow corollas. Their beaks are also very strong, so they can pierce the flowers' tough petals.
In addition to their long beaks, hummingbirds and sunbirds have also evolved other adaptations that help them feed on nectar. They have long tongues that they can use to suck nectar from flowers, and they also have the ability to hover in midair while they feed.
The evolution of these adaptations in hummingbirds and sunbirds is a classic example of convergent evolution. This occurs when two different organisms evolve similar traits in response to similar environmental pressures. In this case, the environmental pressure is the need to feed on nectar from flowers. Hummingbirds and sunbirds have both evolved long beaks and other adaptations that help them to do this, even though they are not closely related.