Conservation of matter means that matter cannot be created or destroyed during chemical reactions.
Look at the reactants and products for photosynthesis.