Foreground refers to the part of a visual composition that appears closest to the viewer, often serving as the focal point and providing context or contrast to the background. It plays a crucial role in guiding the viewer's attention and establishing the spatial hierarchy within an image or scene.