In photography, the composition of a picture is divided into three key areas: foreground, middleground, and background. The foreground captures the viewer's attention with intricate details, while the middleground provides context and depth. The background sets the scene, enhancing the overall atmosphere of the image.