A polygon is defined as a closed plane figure formed by three or more segments that intersect only at their endpoints. Polygons are categorized as convex, where any line segment joining two points remains inside, or concave, where such segments can extend outside the polygon. Additionally, polygons are named based on the number of their sides, ranging from triangle (3 sides) to dodecagon (12 sides).