Creates carbohydrates through photosynthesis in a plant cell.