Plants keep the ecological balance of an aquarium by supplying oxygen and absorbing carbon dioxide. Through photosynthesis, plants use sunlight to convert carbon dioxide and water into glucose and oxygen. The oxygen is released into the water, while carbon dioxide is used to build new plant tissue.
This process helps maintain correct gas levels in the water, which is essential for fish and other aquatic organisms. In addition, plants help remove toxins, provide food and shelter for fish, and reduce algae growth.