A cylinder is a three-dimensional solid consisting of two parallel circular bases joined together by a curved surface.