A polygon is flat with straight lines.
A square is a polygon. A cube is not a polygon. A heart is not a polygon.
All lines touch in a polygon. It is a closed shape.