Squares and polygons
A square might seem at first to be a kind of polygon, but
- a polygon can have any number of sides
- a square is restricted to having four sides
A polygon might seem to be able to do everything a square can do, but
- a square has one number (the length of a side) that makes no sense for a polygon
- a polygon is not substitutable for a square