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