Answer:
By photosynthesis
Step-by-step explanation:
Plants have specialized cells for capturing light energy from the sun. The light energy is used to synthesizer energy carrier molecules(NADPH-Nicotineamide adenine dinucleotide phosphate & ATP-adenosine triphosphate). The energy from these molecules are used to synthesize G3P(glyceraldehyde 3 phosphate) from C02. G3P is coneverted glucose, sucrose or other sugar molecules.
In short, they use light from the sun to make sugars from CO2 and water