The document discusses macros in CNC programming. A macro is a sequence of instructions stored and called as a single unit to perform repetitive tasks or operations on families of parts. Macros add flexibility over standard G-code programs by using variables and conditional statements. Common macro uses include calling canned cycles, setting families of parts, and controlling optional machines. The document describes different types of variables like local, global, and system variables that can be used in macros along with some common G and M codes.