Depth of Field, Some Theory
For a given lens aperture and focal plane, objects at the focal plane are in focus on the image plane (the black lines), objects behind and in front of the focal plane are in focus behind and in front of the image plane (red and green lines) and are out-of-focus on the image plane.