The plant produces oxygen which the animals need (may also be food source), and the animals produce waste products and carbon dioxide which the plants need, so theoratically the system can be left on its own without external support(self sustaining).