human
How does a solar panel work?
assistant
A solar panel is made up of two main components, the photovoltaic cells and the supporting structure. The photovoltaic cells are made up of semiconductors that absorb sunlight and convert it into electrical energy. This energy is then transferred to the supporting structure which contains the wiring necessary for connecting the solar panel to an inverter or other power source. Once the electricity has been generated, it can be used directly or stored in batteries for later use.