The image sensor in most digital cameras have an anti-aliasing (AA)/low pass filter in front of the them.
How aggressive the AA filter is varies by camera make and model.
The AA filter sharpens focus.
Lens quality, camera holding technique, shutter speed, depth-of-field, focus mode, focus area mode, and other factors affect focus sharpness.
How Do I Use My Digital SLR?: How to Get Sharply Focused Images
Consequently, most digital images need to be sharpened post process.
Sharpening is not a straight forward process. Many factors have to be taken into account when deciding how, and how much, sharpening can be applied to a specific image.
many of use do sharpening in 3 stages:
1. Global (the entire image) capture sharpening. Capture sharpening is often done using a parametric (non-destructive) Raw conversion application like Adobe Camera Raw (ACR).
2. Local (only portions of an image) sharpening. There are many local sharpening techniques - UnSharp mask (USM), high-pass filter sharpening, luminosity sharpening, Photoshop Sharpen Tool, and others.
3. Output sharpening. Prints can usually be sharpened more than images destined for electronic display.
Real World Image Sharpening with Adobe Photoshop, Camera Raw, and Lightroom (2nd Edition)