Depth of field

What is sharp either side of focus, and why distance matters more than focal length.