Fruit flies can transfer germs from dirty surfaces (like rotting fruit or your trash can) to clean ones (like your kitchen table). They are known to carry the germs that cause food poisoning. It's a good idea to get rid of them.