A cube is a 3D shape with a top and bottom.
A hexahedron is the name for a 6 sided 3D shape.
A nonagon is a 2D shape and there is not a 3D equivalent shape.
the name of a 20 sided 3d shape is called a icosahedron
A rather simplistic answer is: A cube or cuboid shape has (usually) 2 sides, 2 ends, 1 top and 1 bottom.
The simplest such shape is PYRAMID.
It is important to learn and remember the name of 3D shapes. A 19 faced 3d shape is called a nonadecahedron.