In CNC programming, the T word followed by a number selects the tool to use. The M06 command tells the machine to change to that tool. The program waits for the tool change to finish before moving or starting the spindle. Spindle start is done with M03 and speed set by S command. The example program selects tool 2 with T02, changes tool with M06, moves to start position, starts spindle, cuts a line, stops spindle, and ends the program with M30. Variables like tool number, spindle status, and position change step by step as shown in the execution table. Key points are to always select the tool before M06, wait for tool change completion, and start spindle separately. The visual quiz tests understanding of tool selection, spindle start timing, and effects of changing tool number.