Elephants contribute to nutrient cycling in their ecosystems through their feeding habits. As herbivores, elephants consume a large amount of vegetation, including trees, shrubs, and grasses. When they digest this plant material, they break it down into smaller pieces that are easier for decomposers like bacteria and fungi to further break down. This decomposition process releases nutrients back into the soil, which can then be taken up by plants to continue the nutrient cycle in the ecosystem. Additionally, elephants also disperse seeds through their feces, promoting the growth of new plants and further enriching the biodiversity of their habitat.