D5100 Settings for Autofocus

When the shutter release button is pressed the lens has to be set to a distance that will appear with best possible sharpness. All settings related to how this distance is found are in this list.

It is valid for taking photos when looking through the viewfinder, in live view mode it behaves differently, see Live View and Recording Movies.