Both are parallelograms with four equal angles.
A square is a specific type of rectangle where all sides are of equal length, and all angles are right angles. Since both squares and rectangles meet the definition of parallelograms (having opposite sides that are parallel and equal in length), a square is also considered a rectangle.