A natural process with plants in which carbon dioxide and water are converted into sugar.