Elapids often are feared, as this family also includes many of the world's most deadly snakes, such as the black mamba (Dendroaspis polylepis) and the inland taipan (Oxyuranus microlepidotus). However, as with other taxa, elapids provide important functions for the ecosystem and for humans. They provide important ecological values as part of food chains, consuming small terrestrial vertebrates and even eels in the case of the partially marine sea kraits and fish, squid, and fish egg masses in the case of the fully marine sea snakes. Some elapids, such as king cobras and many coral snakes, even eat other snakes. For humans,
elapids add greatly to the diversity and wonder of nature, with their unique forms and behaviors, and the eating of mice, rats, and other agricultural pests provides an economic value as well.