Flies have compound eyes, which consist of thousands of individual lenses that allow them to see multiple images simultaneously.