The eye has several key structures that allow for vision. The cornea and iris control the amount of light entering the eye. The pupil is a gap in the iris that changes size depending on lighting. Behind the pupil is the lens, which focuses light using refraction. The lens thickness changes to focus on distant or near objects. Light hits the retina, a light-sensitive layer, which sends signals through the optic nerve to the brain for vision. Some eyes have imperfections causing near- or far-sightedness.