Why are bugs attracted to light?


Why are bugs attracted to light?


Nocturnal bugs fly in a straight line when going somewhere by keeping the moon at the exact same direction. This works because the moon is so far away.

When you keep a light that is much closer in the exact same direction you actually spiral into it.

So long story short they confuse a light with the moon and because of how their navigation skills work they fly into it.

**Your submission has been removed for the following reason(s):**

Please search before submitting.

This question has already been asked on ELI5 multiple times.

If you need help searching, please refer to the [Wiki](https://www.reddit.com/r/explainlikeimfive/wiki/how_to_search).