How does aperture affect depth-of-field?

The smaller the aperture, the wider the depth of field.

Additional Answer

Depth of field is also affected by the focal length of the lens. For any given aperture, longer focal lengths (telephoto) have narrower depths of field; shorter focal lengths (wide angle) have wider depths of field.