pls help? :( brainliest if correct

Which two figures have the same number of bases?

A. cylinder and cone
B. triangular pyramid and cone
C. cone and triangular prism
D. triangular pyramid and cylinder