A fly has a total of five eyes. It has two large compound eyes, each made up of about 4,000 to 4,500 individual lenses called ommatidia, allowing a wide-angle view. In addition to these, a fly has three smaller simple eyes on the top of its head called ocelli, which help detect movement. These five eyes contribute to the fly's ability to see almost 360 degrees around and react quickly to threats.