A panned photograph is one in which the camera is moved along with the subject, especially with a slow shutter speed. The moving object in the foreground is in focus, while the background is blurred, not because of a shallow depth of field but because of motion blurring (the motion in this case being that of the camera rather than that of the objects. This can create an interesting effect.

It’s probably easiest to use the AI servo autofocus technique to take a panned shot, as this will allow multiple pictures to be taken rapidly and likely some of those will come out well. Alternatively, you can pre-focus the camera on a point before the moving subject gets there, follow the subject as it moves, and take the shot when it arrives at that location. Of course, this latter method requires that the motion of the subject be predictable. The type of lens you are using has a big effect on depth of field. For example, it’s difficult to achieve much shallow depth of field effect when using a wide angle lens, even with a fairly wide aperture. Telephoto lenses, in contrast, make depth of field shallower with any given aperture width. There are some techniques that can modify these effects, such as moving the physical distance between the camera and the subject so as to change the focusing parameters. However, the best technique is to know your lenses well through practice and familiarity, and know what you need to do in order to take the picture you want with any given lens.