Zebras are herbivores, primarily feeding of grasses. They are prey for lions, cheetahs, hyenas, and crocodiles. Other organisms in their food web include grasshoppers and vultures.
Zebras contribute to biodiversity through their grazing habits, which influence plant diversity. Their interactions with other species are primarily predator-prey relationships.
Zebras are not considered keystone species, but their role in the ecosystem is important. Their grazing helps maintain the savanna ecosystem.