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.
For Unreal Engine, as Epic describes it in more detail: "Rendering an object usually involves several shaders (e.g. a vertex shader and a pixel shader working together), as well as a number of ...