The number of sides determines the type of polygon.