Depth of field (DOF) is a term which refers to the areas of the photograph both in front and behind the main focus point which remain "sharp" (in focus).
Depth of field is affected by the aperture, subject distance, focal length, and film or sensor format.