Shaders are the means by which the programmable stage is controlled in the graphics and compute pipeline.
The graphics pipeline includes vertex, tessellation, geometry, and fragment shaders. Collectively, the first four-vertex, tessellation control, tessellation evaluation, and geometry shaders-are responsible for the vertex-processing stages. These are followed by the fragment shader, which is executed after rasterization.
Here's a bit about the graphics pipeline shaders: