In mathematics, a cylinder is a three-dimensional solid that holds two parallel bases joined by a curved surface, at a fixed distance. These bases are normally circular in shape (like a circle) and the center of the two bases are joined by a line segment, which is called the axis.