What makes the reactants of photosynthesis and the reactants of cellular respiration similar?

Both involve ATP molecules.
Both involve light energy.
Both involve combinations of carbon, hydrogen, and oxygen.
Both involve combinations of glucose, water, and carbon dioxide.