Solar batteries store excess electricity generated by solar panels and release it when needed, making them an essential component in a solar power system.