No, gnats and fruit flies are not the same. Fruit flies are typically found around vegitation and have red eyes, although they are gnat like in appearance. I thing the way to get rid of them is to get rid of fruits and veggies that are lying about . Keep garbage well sealed. They don't hang about without a food source . I hope that helps.