Here's why:
* Chloroplasts are organelles in plant cells that capture light energy from the sun and use it to convert carbon dioxide and water into glucose (sugar) and oxygen. This process is called photosynthesis.
* Solar panels also capture light energy from the sun and convert it into electricity.
While the processes and outputs are different (glucose and oxygen vs electricity), the fundamental principle of harnessing light energy and transforming it into a usable form is the same.