The variety and heterogeneity of components within a system, which enhances its adaptability and resilience.