Ecosystems are open systems usually but can thrive in closed systems by using sunlight for photosynthesis, recycling nutrients, and hence creating its own ecosystem with its own density dependent factors (ex. too many plant, too many nutrients needed, not enough=deaths)