The manufacture by plants of carbohydrates and oxygen from carbon dioxide mediated by chlorophyll in the presence of sunlight.