Human eye diagram showing light not focusing properly on the retina, indicating refractive error
Nearsightedness occurs when light focuses in front of the retina
Farsightedness occurs when light focuses behind the retina