A regular two-axis CNC lathe has X and Z axes. Bar inventory is both fed or inserted in the Z-axis in the collet and a tool cuts because the stock rotates. This really is used for round parts. To get started on with the basics, the answer is obvious. https://caidendijgb.blogdon.net/cnc-service-24-7-ai-an-overview-51559908