Question: how ldr works in dark?
Answer: Dark sensor works in the way that then the LDR comes to the darkness, or in other words, if no light falls on it, the transistor turns on. ... The dark sensor could be made more controllable by switching the R1 resistor with variable resistor, thus: High resistance-> more darkness to switch on the LED.