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.
light
Some Moths, Flies they come tords light not the heat
This is not known.See the Related Link
Moths are generally more attracted to light than to heat. They use light from the moon and stars to navigate, which can sometimes lead them to be attracted to artificial light sources at night. Heat can also attract moths, especially if they are seeking warmth for thermoregulation, but light is a stronger lure for most species.
Night insects are primarily attracted to lamps because of the light emitted, not the heat. They use light sources for navigation and can become disoriented and drawn towards artificial lights, leading them to circle around lamps.
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.
No they are no, they are actually attracted to light and heat.
YES
The bugs are attracted by the heat of this light.
Nobody really knows why this happens.ANS2:Insects are attracted to flames as well as to fluorescent lights. Fire radiates a lot of heat (infra red radiation) and visible light. Fluorescent lights give off very little heat. That would lead most people to conclude that it is the light, rather than the heat that attracts them.Insect lights use UV light to attract insects to their doom. Insects can see UV light and some insects can detect polarized light.
Bugs are not specifically attracted to fire alarms per se. However, they are often attracted to sources of light and heat, which may include fire alarms that have LED lights or emit a low level of heat. Bugs may mistake the light or heat from the fire alarm for a potential food source or a safe shelter, leading them to congregate around it.
Bees do not hate light. They like light because they have enough heat. Bees hate bug spray