The function of eye lens is to change the shape and thickness so that light gets focused on the retina.