The pro cess by which living cells that contain chloroplasts and the pigment chlorophyll use light energy to make organic molecules, like sugar, from inorganic materials such as carbon dioxide and water.