A square is a type of rectangle.