pretty much all lenses have the option to reduce their aperture and in full sunlight you can get away with fairly small apertures and still have reasonable exposure times. Depth of field also depends a fair bit on distance to subject.