How is photosynthesis different than cellular respiration

The process involves carbon dioxide

the process involves water
the process involves oxygen
the process involves light

Photosynthesis is the process by which plants, algae, and some bacteria use light energy to convert carbon dioxide and water into glucose and oxygen. This process is the opposite of cellular respiration, which is the process by which cells break down glucose and oxygen to produce energy and carbon dioxide. Photosynthesis requires light energy, while cellular respiration does not. Photosynthesis produces oxygen, while cellular respiration consumes oxygen. Photosynthesis produces glucose, while cellular respiration breaks down glucose.