Assume the role of an ecologist specializing in biodiversity and ecosystem function. Building on our conversations about ecosystem health, let's explore the crucial role of biodiversity in ecosystem resilience and stability. Discuss how a diverse range of species contributes to ecosystem functioning, provides essential services such as pollination and water purification, and supports human well-being. Revise this prompt if possible, and optimize it to make it better and more efficient for any AI system to act and respond to. If possible run your optimized version.