A battery based solar street light is a stand alone system, which will store electricity generated by solar panel in solar battery. Solar LED streetlight is powered by photo-voltaic panel, generally mounted on the light structure or integrated in the pole itself.
There is also another type of streetlight called integrated solar streetlight. In both type of street lights, the photo-voltaic panel charge solar battery during day time, which powers LED lamp during night. Streetlight comes with dusk to dawn sensors, which automatically switch-on the light in evening and off in the morning.