How do biotic and abiotic factors affect the characteristics of an ecosystem