You don't use co2 during dark periods because photosynthesis only occurs during hours of daylight. Photosynthesis is a chemical process that uses the energy from sunlight to convert carbon dioxide and water, into organic compounds, like sugars, and releases oxygen as a waste product.
As far as flowering goes, you'll probably want to turn it off at some point or the plants just keep growing and take forever to finish.