The process in which carbon dioxide and water are used to produce carbohydrates and evolve oxygen in the presence of light and chlorophyll; the net result is that light energy (radiant energy) is converted into chemical energy in the form of fixed carbon compounds (carbohydrates)