Human: How does a solar panel convert sunlight into electricity? Assistant: 
Solar panels are made up of two layers, one that absorbs the sunlight and converts it into energy, and another layer that conducts the energy. The conducting layer is connected to an electrical circuit which stores the energy in batteries or other devices.