In my basic science classes in high school, I have learned that during photosynthesis, plants absorb sunlight and produce food by converting carbon dioxide and water into sugar and starch.
To me, this seems similar to the analogy of solar cells that convert sunlight into electricity. When sunlight falls directly on the solar cell, it produces electricity, but even when it is cloudy with no direct sunlight available, electricity is produced, but with less efficiency.
So can photosynthesis occur in plants only when they are in direct sunlight or does photosynthesis also occur during cloudy weather when the light is diffuse or indirect?