‘Like a moth to a flame’ — this strange insect behaviour is finally explained