Moths and flies, primarily.
light
This is not known.See the Related Link
There are various experiments that you can do for why insects are attracted to light and heat. Experiments can be done at night with a light source and heat source in boxes to see which one attracts more insects.
Some Moths, Flies they come tords light not the heat
Quite a few insects come out at night. This is when many of them feed. Some of these insects are mosquitoes, lightning bugs, which are also called fireflies, and carabid beetles. Moths, the black vine weevil, and cockroaches also come out at night.
Because they are attracted to the lights at your house. You can buy non-attracting light bulbs if you want.
A hypothesis is a prediction on what you think will happen. For experiments on insects being attracted to light or heat, a hypothesis could be that insects are attracted to light over heat.
Insects have evolved in earlier ages in which there was generally no light at night other than the moon, and they navigate with the help of the moon. Lights at night are confused with the moon and lead to navigational error, making it seem that insects are attracted to light.
June bugs are attracted to light because they use the moon and stars to navigate at night. When they see artificial lights, they become disoriented and confused, leading them to fly towards the light source.
YES
hormones
Insects, especially winged insects, are attracted to the bright light emitted from a light bulb. Spiders prey on insects, so the more insects are attracted to a certain place, the more spiders will be present there to eat them.