What is the difference between a cube and a cuboid?

A cube is a 3d square, a cuboid is a 3d rectangle.