In geometry, any closed curve consisting of a set of line segments (sides) connected such that no two segments cross. The simplest polygons are triangles (three sides), quadrilaterals (four sides), and pentagons (five sides). If none of the sides, when extended, intersects the polygon, it is a convex polygon; otherwise it is concave. A polygon with all sides equal is equilateral. One with all interior angles equal is equiangular. Any polygon that is both equilateral and equiangular is a regular polygon (e.g., equilateral triangle, square).