For a shallow depth of field, telephoto lenses with a focal length of 85mm or more work well. In contrast, for a deep depth of field, wide-angle lenses with a focal length of 24mm of less are great.