The Goal: Front-to-Back Sharpness
In landscape photography, we typically want everything in focus - from the rocks at our feet to the mountain peaks on the horizon. This requires understanding depth of field: the zone of acceptable sharpness in front of and behind your focus point.
Depth of field is controlled by aperture (f-stop). Smaller apertures (higher f-numbers like f/11, f/16) give more depth of field. But there's a limit - go too small and diffraction softens your image.