<human>: How does a solar panel convert sunlight into electricity?
<bot>: A solar panel is made up of many photovoltaic cells. When sunlight hits the cells, electrons are knocked loose from their atoms and travel through the cell. These free-moving electrons can then be used to power electrical devices.