Because of the focal length and the fact that the image sensor is much smaller than a standard 35mm negative, it is possible to use a lens with a fixed focus that covers a wide range of acceptable sharpness. This range is usually about 5 feet to infinity. Even if the image is a bit soft at infinity, the detail is lost in the pixels, as these cameras are usually not ultra-high resolution. But for most typical scenes, the sharpness is really quite good. Controlling Depth of Field.
Depth of field is the corridor of sharp focus in front of and behind the main subject.
In film photography the width of this corridor is determined by the aperture of the lens at a given focal length. Happily, some cameras that normally are used in full auto mode have the option of aperture priority automation, which gives this control. When You Want Less Depth of Field. One way to achieve this is to open up your camera's aperture. This maneuver will effectively reduce the prominence of the foreground and the background in favor of the area you want featured.