During respiration, oxygen enters the leaves and carbon dioxide exits through the stomata. So that means photosynthesis is just opposite.
Now, if the plants exchange the same amount of gas in photosynthesis and respiration then there is no gas exchange.
So in adaptation, what happens is that cellular respiration happens 24/7 but at a low level. And when the sun is out, it does a lot of photosynthesis.
That means when there is a lot of sunlight, there will be more photosynthesis. And when there is no sun light, there will be a lot more cellular respiration.
CELLULAR RESPIRATION
Reactants:
Glucose and Oxygen
Products:
Water and Carbon Dioxide and ATP
Formula:
C6H12O6 + O2 = CO2 + H2O + ATP
PHOTOSYNTHESIS
Reactants:
Caron dioxide and Water
Products:
Oxygen and Glucose
Formula:
C6H12O6 + O2 = CO2 + H2O
So basically, photosynthesis produce glucose and oxygen. That glucose then during cellular respiration is used to create ATP, a energy-carrying molecule founded in everything living things.
And for the oxygen, they exits through the stomata.