Question: are rats deterred by light?
Answer: While rats are comfortable in the light, they will typically avoid it simply due to their nature. There are also certain types of lights that they may make additional effort to avoid, such as flashing lights. That is why so many companies sell light machines designed to deter rats; they have their basis in fact.