Historically, the shape of the dragonfly's body freaked people out enough to associate them with the devil. The Romanians used the same word, "drac," for both "devil" and "dragon," and so it's believed that the word "devil's fly" became "dragonfly" somewhere along the line of English translation.