Answer:
The conservation of mass and energy comes into play.
Energy is not a problem since sunlight can go through glass. The plants will grow and reproduce, producing oxygen that enters the water. Animals eat plants and get energy from them. They too grow and reproduce. They also release carbon dioxide into the water, which plants use to make food.
This cycle can continue forever, or at least for a long time.