Nope, they do both! Photosynthesis in the chloroplasts, respiration in the mitochondria. It’s a common misconception that they only photosynthesize.