Insects' eyes are made of many, tiny lenses that detect light individually. One lens is responsible for one pixel of the image the insect sees.
Read here more about the compound eyes of insects and other interesting science facts.
The compound eye of the Antarctic krill
Photo source: Wikipedia