The vertex shader is used to transform the attributes of vertices (points of a triangle) such as color, texture, position and direction from the original color space to the display space.
Other 3D shapes with least one curved surface are not polyhedra ... of a pyramid are around the polygon base plus the apex vertex. A triangle-based pyramid has four vertices.