Question: y are moths attracted to light?
Answer: In a behavior called transverse orientation, some insects navigate by flying at a constant angle relative to a distant light source, such as the moon. But around man-made lights, such as a campfire or your porch light, the angle to the light source changes as a moth flies by. This confuses it.