When photosynthesis occurs during the day, the carbon dioxide released by plants by respiration is all used up and not released. Similarly, some of the oxygen produced during photosynthesis is used up in respiration. Since the plant is releasing carbon dioxide and taking in oxygen even during the day, it means that no photosynthesis is taking place.