Some hawk moths, such as the hummingbird hawk-moth or the white-lined sphinx, hover in midair while they feed on nectar from flowers, so are sometimes mistaken for hummingbirds. This hovering capability is only known to have evolved four times in nectar feeders: in hummingbirds, certain bats, hoverflies, and these sphingids (an example of convergent evolution). Sphingids have been much studied for their flying ability, especially their ability to move rapidly from side to side while hovering, called "swing-hovering" or "side-slipping". This is thought to have evolved to deal with ambush predators that lie in wait in flowers.