Plants also respire too, taking in oxygen and releasing CO2. They actually both photosynthesize and respire at the same time! Talented multitaskers. πΏπ±