Depth of field

The measure of the zone or distance over which any object in front of a lens will appear acceptably sharp. It lies both in front of and behind the plane of best focus, and is effected by three factors: lens aperture; lens focal length; and image magnification.

A detailed explanation of Depth of Field can be found here.