This is true! Cellular respiration is the process that cells use to generate energy from sugar molecules. The chemical equation for that reaction is C6H12O6 + 6O2 → 6CO2 + 6H2O. The reactants are bolded.
Photosynthesis is the process that plants and other photosynthesizing organisms use to convert solar energy into chemical energy. The chemical equation for that reaction is 6CO2 + 6H2O → C6H12O6+ 6O2. The products are bolded here.
So based on these equations, you can see that the reactants of cellular respiration and the products of photosynthesis are the same (C6H12O6 + 6O2), so your answer would be true!