If a quadrilateral has all the interior angles as right angles and all the sides are equal, it is called a rectangle.