In plants, the products are glucose (6C-12H-6O) and oxygen (O2). There are some photosynthetic bacteria that don't produce oxygen, though, so this isn't always the case, but you'll almost never be told to mention that.
Here's the equation for photosynthesis in plants:
light energy
Water (6H2O) + carbon dioxide (6CO2) ---------> glocuse (6C-12H-6O) + oxygen (6O2)