Since the brighter the sunlight, the more voltage the solar cells produce, the excessive voltage could damage the batteries. A charge controller is used to maintain the proper charging voltage on the batteries. As the input voltage from the solar array rises, the charge controller regulates the charge to the batteries preventing any over charging.