Using the sun to create energy and power in the form of electricity may sound like magic, but in reality, the science behind it is simply very clever. Motorhome solar panels work like all other solar panels out there and rely on sunlight hitting the panels themselves. This is why they are always put on the roofs of an RV. When the sunlight hits the RV solar panels, it is turned into an electric current. Depending on your system, this current then goes into a charge controller. This part of an RV solar kit is in charge of how much of a current goes through a batter.
The batteries included produce electricity in a DC power form and so an inverter is then used to convert it from DC to AC power for usage.