Compound Eyes
The common housefly has distinct compound eyes. The compound eyes are made up of hundreds of different lenses and give the housefly the uncanny ability to recognize many different perceptions of light and motion. If you ever try to swat a housefly and wonder how it can fly away so fast, it has a lot to do with the fly's compound eyes. The compound eyes also help the housefly in flight to avoid obstacles.
Tiny Hairs
The housefly also houses tiny hairs all over its body. These tiny hairs help the housefly sense airflow when in flight or when something moves in its direction. As the air rushes along the body of the fly while in flight, the fly can sense disruptions to avoid an obstacle and sense the direction of wind to take the easy path in flight, thereby increasing speed.
Antenna
The housefly also has a sophisticated antenna that not only helps in the search of food, but also aids the housefly in flight and sensing motion. The antenna can sense changes in the air around it, aiding the housefly in flight and to help it escape from predators.
The Flight of the Housefly
With a combination of compound eyes with sophisticated remote sensing capabilities, a body covered in high sensitive hairs, and an antenna that measures air flow, the housefly has evolved some important adaptations that results in impressive flight capabilities. According to Florida State University, the common housefly can fly in bursts up to 15 miles per hour to escape danger and can beat their wings up to 1,000 times per minute. This is what creates the buzz you hear announcing the arrival of the housefly.