Why are moths attracted to light?

You’re likely to have seen it, a moth fluttering near an outside light at night, spinning around aimlessly. The insect’s intriguing behaviour is down to phototaxis, an animal’s automatic reaction to or away from light. A moth is a positively phototactic bug, which means it’s fascinated and charmed by bright lights, for example a car’s headlight, a porch light, or a candle flame. The latter unfortunately doesn’t have a happy ending. It is also believed that a moth uses a light at night as a form of navigation. It is mainly the moon that guides a moth, but lamps and other such bright, glowing objects can confuse the creature as it passes by. This sends it in a bit of a dazed and circular pattern around the light, until the Sun comes up when it uses the day to regain its strength.