The variety of ecosystems that occurs within a larger landscape, ranging from biome (the largest ecological unit) to microhabitat.