6 CO2(gas) + 12 H2O(liquid) + photons → C6H12O6(aqueous) + 6 O2(gas) + 6 H2O(liquid) carbon dioxide + water + light energy → glucose + oxygen + water
Most plants are photoautotrophs, which means that they are able to synthesize food directly from inorganic compounds using light energy - for example from the sun, instead of eating other organisms or relying on nutrients derived from them.