the process by which plants and other autotrophs generate carbohydrates and oxygen from carbon dioxide, water, and light energy in chloroplasts