A rectangular prism has a rectangular base. It is possible for the rectangular base to be a square, but it doesn't have to be a square.