From a related article:
"But the eco-system also uses cellular respiration to break down decaying material shed by the plant. In this part of the process, bacteria inside the soil of the bottle garden absorbs the plant's waste oxygen and releasing carbon dioxide which the growing plant can reuse."