Joel was looking at the bottom of a three-dimensional shape and saw a rectangle. Which three-dimensional shape could he not have been looking at?
A. rectangular pyramid
B. rectangular prism
C. cube
D. triangular pyramid