G code is the generic name for a control language for CNC machines. It tells the machine where to go and what to do.