The two factors that contribute tobiodiversity are the richness in the number of different species available in the ecosystem, or the richness in the number of individuals of the one species. This is because each species has a role in the ecosystem on which other organisms depend for survival.