Many two-dimensional geometric shapes can be defined by a set of points or vertices and lines connecting the points in a closed chain, as well as the resulting interior points. Suchshapes are called polygons and include triangles, squares, and pentagons.