For detailed information on how focus works, see the Imaging Properties section on this Wikipedia article: http://en.wikipedia.org/wiki/Lens_(optics).
A basic diagram of lens focus of points of light in and out of the plane of focus is demonstrated here:
