are squares and rectangles the same?
Example: a square is also a rectangle. So we include a square in the definition of a rectangle. (We don't say "Having all 90° angles makes it a rectangle except when all sides are equal then it is a square.")