Polyhedron is a 3 dimensional shape having polygons as its face joined by edges.
Here, the base is a square and the remaining faces are triangles.
Also Cube is a 3 dimensional figures having polygons as faces joined by sides.
So, the square pyramid and cube are polyhedron made up of polygons where as cylinder, cone and sphere are made up of curved surfaces.