Answer:
To absorb light and use carbon dioxide to produce glucose and oxygen. The process is called photosynthesis.