They release oxygen during photosynthesis, which requires sunlight. Apart from it, there is respiration process that is going all the time that uses O2 and produces CO2 and energy for functioning. Under the sunlight, the production of O2 is significantly higher then the consumption.
The amount of produced CO2 is AFAIR fairy small to introduce any problems for people sleeping in a room.
The amount of produced CO2 is AFAIR fairy small to introduce any problems for people sleeping in a room.