Chicks need warmth. They don’t need light in the night. In a natural setting under a broody is really dark.
Chicks need daylight to grow up healthy. Not for the first week(s) but they do after that. If you keep them inside for a long time you should buy a daylight/grow-lamp wich has a daylight...