Biodiversity is the amount of species in a certain location, in other words, the concentration and diversity of species in a region.
So, since biodiversity is a concept that depends on species (fauna and flora), that is how it's related.
Hope it helped,
BioTeacher101