The diversity of plant and animal life in a particular habitat.