Why insects attract toward light?

this question i wanna ask certain time back,but i forgot to ask,today when i was going out at night i saw that insects were flying near my tubelight?why they get attracted towards light??
3 answers 3