Solar panels are those devices that absorb the sun's rays and convert them into electricity or heat. A solar panel is a collection of solar (or photovoltaic) cells, which can be used to generate electricity through the photovoltaic effect.