What is a fragment shader?
Every pixel that ends up on your screen has associated to it at least one fragment. The fragment usually describes what color the pixel will be. Fragment shaders take as input vertices (which already have been processed by a vertex shader) and produce fragments as output.