In the above pipeline, the application passes the vertex and primitive data to the GPU. This includes information such as vertex position, texture coordinate, color, normal, etc. This information can be programatically processed and worked with by using a Vertex shader.
The Pixel shader takes these fragments, processes them, and outputs the color and depth data for each pixel.