Could you explain to me what the axis of a cylinder is?
Is it a line that passes through the center?
On
If any straight line segment AB rotates w.r.t. another parallel straight line XX (parallel means not skewed) called an axis (a.k.a. axle ) distance $r$ from it, rotating by a full $ 360^0,$ the surface so swept out in 3-space is the surface of a cylinder. By the process of sweeping in this manner the axial line is a locus of all circle centers. When a circular rod rolls on a plane its axis also moves. A shaft in an electric motor or lathe has an an axis the is stationary in position and direction.
The cylinder has height or length $AB$ and curved/round area $ = 2\pi r AB$.
A picture worth 1000 words:) The Z axis is the axis of the cylinder