A hexagon is any six-sided plane (two-dimensional) figure. A regular or equilateral hexagon is such a figure with all sides equal in length and all angles equal. The two conditions are independent:
You can "squash" a regular hexagon to change the angles without changing the sides.
You can also "stretch" or "squeeze" a regular hexagon to make one pair of sides at a time longer or shorter than the others.