Light willpass through your cornea, the iris then regulates the size of the pupil based on how bright the light is, which controls how much light gets into your eyes. The light passes through the lens that gets a clearer view of the light or image and passes it through your retina. Your retina contains the special thing called the "photoreceptor" that converts the light into electromagnetic signals. Those signals travel from the retina to the back of the brain through the Optic Nerve.
When we look at an object, light rays from every part of the object enters into the eyes, the light rays then pass through the cornea, the aqueous humour, lens and vitreous humour, the light rays are bent and image is formed on the retina. the vitreous humour converts the light rays to electrical impulses , before reaching the retina to stimulate the rods and cons to invert the image. the retina views images in an inverted form and not the actual size. the electrical impulses pass through the optic lobe which transmits it to the optic fibre to send impulses to the brain.
from the optic fibre the impulses are sent to the vision centre cerebral hemisphere where the image is formed and the real size and colour of the image is seen. images are formed and seen properly when they fall on the fovea centralis. note that images on the retina are smaller but we see the images as the actual size