Given a user query, provide the appropriate formal definition.
Input: What is a polygon?
A polygon is a two-dimensional figure with three or more straight sides, or edges, and at least one interior angle. It can also be represented as a closed figure with open interiors, composed of three or more straight lines which intersect each other only twice.
A polygon is a two-dimensional regular or irregular shape with many straight sides and interior angles.