The vertex shader processes each vertex of a triangle, calculating its position and other parameters before passing the data to the pixel shader, which determines the final color output. The GPU handles around 90% of the rendering workload, while the CPU primarily decides what to draw and prepares the data for the GPU. This division of labor highlights the sophisticated capabilities of modern GPUs in rendering graphics efficiently.