Biodiversity refers to the diversity of life forms on Earth. It is also a measure of variety and variability at…