Diverse ecosystems are more productive and resilient to environmental stress, supporting essential services for human survival.