text: In general, plants give off oxygen when there is sunlight for photosynthesis. They respire all the time (use up oxygen), but during the day this is outweighed by the oxygen they produce.\n\nSome plants use CAM photosynthesis which changes the answer. They are able to close their stomata (pores) day and night during harsh conditions. This means that though they are photosynthesising, no oxygen is being released. They're just using it up internally. They can't do this forever, but it does mean they can have periods of no oxygen release. Some desert and tree-dwelling plants use this system.