The fixed sequence of steps the GPU runs for every object. Vertices go in. The vertex shader places them on screen. The rasterizer finds the pixels each triangle covers. The fragment shader colors those pixels. The result lands in the framebuffer, the image that is shown.
A simplified single-sample pass: the vertex shader transforms and projects the cube, rasterization generates fragments, and fragment shading assigns face colors. Backface culling and blending are disabled, giving near and far fragments at each covered sample; their layers are offset for inspection. The depth test stores the nearer color in the framebuffer. Clipping and other stages are omitted.