Light rays coming from any object enter into eyes, which control the amount of light entering inside. A lens inside the eye produces an inverted image of the object on the retina. This image is carried to the brain in the form of electrical impulses by optic nerves.
Brain again inverts the image and it becomes erect due to which we see objects.The two eyes provide us the stereoscopic vision in a three dimensional image.