Which of the following three-dimensional solids cannot be generated by rotating a two-dimensional figure around an axis?

A) sphere
B) cylinder
C) cone
D) pyramid

D) pyramid