Please research plane respiration and you will see he was correct.
“Respiration” by plants at night means they put back out the Carbon Dioxide taken in at night...It doesn’t mean they “produce” Carbon Dioxide...
During daylight they give off Oxygen that is converted from Carbo Dioxide through the process of photosynthesis...