Insects have eyes that are quite similar to yours in some ways and quite different in others. Like you, insects have photoreceptor cells resting inside a fluid-filled compartment with a lens at one end to focus light on to the receptors. But while you have only two such compartments—your left and right eyes—insects have hundreds of them. 

S. Marc Breedlove breaks down some common misinformation about insect sight and perception. He is the Rosenberg Professor of Neuroscience at Michigan State University and author of Principles of Psychology