Solar power is one of the most influential renewable sources of energy. Charging batteries employing solar energy is the best way to use clean, renewable energy.
Charge Controllers should be used to regulate the voltage that enters the battery, or else it will damage the battery in sunny days if the power from the panel is more than what the battery can handle.