There seems to be a couple of theories, one is that they navigate by the moon and the moth tries to use light in the same way, another one is that they are not attracted to light but the light is an optical illusion as things seem darker on the outskirts of the light so the moths are trying to get to the darker area. However nobody knows for sure
Comments
ellenmelon commented on :
thanks joe for answering