The eye acts as a 'system' of lenses similar to a camera, focusing light onto the retina. If a patient's eye is the correct shape, a distant object focuses clearly onto the retina and the eye is termed emmetropic (no refractive error).
Three ocular structures determine if light is brought to a focus on the retina:
Source: National Eye Institute, National Institutes of Health. Creative Commons Licence.
When light entering the eye doesn't come to a focus on the retina then a refractive error occurs. This is known as ametropia.