A cylinder is a geometric shape that can be defined as a solid figure with two parallel bases connected by a curved lateral surface.