Carbohydrates can be used as an immediate source of energy by largely all cells, but in many photosynthetic organisms a major portion of the carbohydrates will be used for production of structural compounds, e.g., cellulose in cells walls, or for synthesis of storage products such as starch.
(From the website science direct)
Hope this helps