The design for what the machine creates is Computer-Aided Design (CAD) software. In specific, its programming software helps machines understand function and design.
More often than not, CNC software works to enhance or automate the manufacturing process.
Instructions reach the tool or machine via a computer. Computer Numerical Control, or CNC programming, software creates program codes and instructions, which are used to run a CNC linked tool.