Geometry shader should not be mixed up with [vertex-shader], but are shader programs executed after vertex shaders. They take as input a whole primitive like point, line or triangle.
Geometry shaders are the 3rd type of GPU shader programs after fragment-shader and vertex-shader and process whole primitives like points, lines or triangles.
Resources