A polygon is a two-dimensional geometric shape that is made up of straight line segments connected end to end. These line segments are called sides, and the points where they meet are known as vertices. Polygons can have various numbers of sides, such as triangles (3 sides), quadrilaterals (4 sides), and pentagons (5 sides).
Polygons can be classified as either regular or irregular. A regular polygon has all sides and angles equal, like a square or equilateral triangle. An irregular polygon has sides and angles of different lengths and measures. Polygons are fundamental in geometry and are used in various fields, including architecture and computer graphics.