Which solid figure has six vertices?

A: Rectangular Prism
B: Square Pyramid
C: Triangular Prism
D: Hexagonal Pyramid