Plants produce what two products in photosynthesis?