Shallow depth of field is when only part of the image is sharp and the rest is soft and out-of-focus. You can achieve this by using a wide aperture (low aperture number) such as f/4 or f/2.8. The effect is even more pronounced if you are using a telephoto lens with a wide aperture.