Aperture controls depth of field by adjusting the size of the lens opening. A smaller aperture number means a wider opening and shallower depth of field, while a larger number gives a narrower opening and greater depth of field. Aperture priority mode allows the user to set the aperture while the camera selects the appropriate shutter speed. Depth of field refers to the distance in a scene that appears in focus.