In this article, we will talk about what aperture is primarily used for in photography, which is to control depth of field (DOF). Depth of field is the front-to-back zone in a photograph where objects appear acceptably sharp. We will cover both the shallow and deep depth of field, as well as the other factors that affect depth of field, aperture, distance between you and the subject, focal length, and the sensor size.