Focus stacking is a technique used in landscape photography to achieve a greater depth of field. It involves capturing multiple images of the same scene, each focused at a different point, and then combining them in post-processing to create a final image where all areas of the scene are in sharp focus. This technique is particularly useful when using narrow apertures where achieving a sharp focus throughout the entire scene may be challenging.