The source of carbon dioxide for aquatic plants are the aquatic animals present in that water body.
And another way is
When any organic material such as leaves, dead animals rot or decompose or when calcium carbonate rocks undergoes weathering, release of carbon dioxide occur in the ocean .