How do your eyes adjust for seeing objects at different distance from you?

The muscles in the eyeball pull the shape of the lens (the black bit !) to change the focus of the eye. This takes place very quickly, so you hardly notice it.