Two types of geometric quadrilaterals, rectangles and squares, have two pairs of parallel lines and four right angles. In terms of these two shapes, they differ in that a square's sides are all equal length, whereas a rectangle generally has one longer pair and one shorter pair.
Quadrilaterals are geometric figures defined by the presence of exactly four sides joined by vertices that create four angles. The measurements of these four "interior angles" add up to a total of 360 degrees. Subgroups and variants include parallelograms, squares, rectangles, rhombus figures and more. These are generally divided according to differences in angle and length of side.