Plants convert sugar and oxygen into carbon dioxide and water when there is no light.