Solar panel batteries store excess energy generated by solar panels during sunny periods for later use, providing a continuous power supply.