The reason why the jailer needed light can be made explicit. Alternate translation: "called for someone to bring light so he could see who was still in the prison" (See: [[rc://en/ta/man/translate/figs-explicit]])
The word "lights" stands for something that makes light. Alternate translation: "for torches" or "for lamps" (See: [[rc://en/ta/man/translate/figs-metonymy]])