Why are moths attracted to light?
The sources I found agreed that moths normally use the moon as a means of orientation and navigation. With their flight pattern, it makes things easier if they have some way of knowing which way is up and the moon provides that for them. Our artificial lights now seem to provide that as well. For navigation, moths use the moon as we used to (and sometimes still) use the North Star. As they fly at night, they head straight in their desired direction with the moon directly overhead. After each hour, they adjust their line of flight about 16 degrees to account for the movement of the moon around the Earth’s surface. (so impressive!)