Why are flies always rubbing their legs together?
Flies taste, smell, and feel with the hairs that cover their bodies. The hairs on the fly’s mouth parts and feet are used for tasting. Flies taste what they walk on. If they walk onto something tasty, they put down their mouth and taste it again. A fly cleans itself constantly. [ Source: http://www.adcham.com/html/insects/insects-fly-rearing.