In this analogy question, we are investigating cause and effect relationships. The first pair of words is smelting and metal. Smelting is the process through which metal is derived from ore. Based on this relationship, determine the comparable relationship for the second pair:
Photosynthesis is to _____.