Endangered animals and the ecosystem