If we take a point and drag it in a direction and stop then we get a line segment.
Now if we take a line segment and drag it in a perpendicular direction to the line segment, then a rectangle is produced through 4 line segments.
Take a rectangle and move the rectangle and drag it in a perpendicular direction, then we span out the rectangular box, which is a rectangular prism.
When a rectangle is rotated about one of its sides then a cylinder is produced.
When a right-angled triangle is rotated about one of the perpendicular sides then a cone is produced.