How do solar panels work?

In general, solar energy can be described as the energy that is received from the sunlight and converted by a mechanical source for home use. It's cheaper and reliable for operations since the sun is readily available. On the other hand, solar panels are the...